mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 01:12:59 +00:00
Test case for r90175.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
208d76cad9
commit
d188dba149
14
test/FrontendObjC/2009-11-30-Objc-ID.m
Normal file
14
test/FrontendObjC/2009-11-30-Objc-ID.m
Normal file
@ -0,0 +1,14 @@
|
||||
// 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
|
Loading…
Reference in New Issue
Block a user