diff options
Diffstat (limited to 'test/CodeGenObjC/debug-info-pubtypes.m')
-rw-r--r-- | test/CodeGenObjC/debug-info-pubtypes.m | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/CodeGenObjC/debug-info-pubtypes.m b/test/CodeGenObjC/debug-info-pubtypes.m new file mode 100644 index 0000000..744a366 --- /dev/null +++ b/test/CodeGenObjC/debug-info-pubtypes.m @@ -0,0 +1,19 @@ +// REQUIRES: x86-64-registered-target +// RUN: %clang -cc1 -triple x86_64-apple-darwin10 -g -S %s -o %t +// RUN: FileCheck %s < %t + +//CHECK: .long Lset6 +//CHECK-NEXT: .long +//CHECK-NEXT: .asciz "H" +//CHECK-NEXT: .long 0 +//CHECK-NEXT: Lpubtypes_end1: + +@interface H +-(void) foo; +@end + +@implementation H +-(void) foo { +} +@end + |