forked from OSchip/llvm-project
parent
31b3d7b53f
commit
450f266095
|
@ -0,0 +1,18 @@
|
|||
// RUN: clang-cc -g -S -o %t %s
|
||||
// RUN: not grep 001 %t
|
||||
|
||||
|
||||
@interface F
|
||||
-(int) bar;
|
||||
@end
|
||||
|
||||
@implementation F
|
||||
-(int) bar {
|
||||
return 42;
|
||||
}
|
||||
@end
|
||||
|
||||
extern int f(F *fn) {
|
||||
return [fn bar];
|
||||
}
|
||||
|
Loading…
Reference in New Issue