1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/FrontendObjC/2009-11-30-Objc-ID.m
Devang Patel 41e98a786b Test case for r90175.
llvm-svn: 90176
2009-12-01 00:13:06 +00:00

15 lines
235 B
Objective-C

// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
// RUN: llc --disable-fp-elim -o %t.s -O0
// RUN: grep id %t.s | grep DW_AT_name
@interface A
-(id) blah;
@end
@implementation A
-(id)blah {
int i = 1;
i++;
return i;
}
@end