Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 1 | // REQUIRES: x86-registered-target |
Rafael Espindola | a3f55b0 | 2013-09-04 04:12:25 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-64.s |
Tim Northover | 931a4fe | 2013-08-12 12:51:05 +0000 | [diff] [blame] | 3 | // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s |
Fariborz Jahanian | f96bdf4 | 2011-01-03 19:23:18 +0000 | [diff] [blame] | 4 | |
| 5 | // rdar://8800513 |
| 6 | @interface NSObject { |
| 7 | id isa; |
| 8 | } |
| 9 | @end |
| 10 | |
| 11 | typedef struct { |
| 12 | id b; |
| 13 | } st; |
| 14 | |
| 15 | @interface Test : NSObject { |
| 16 | int a; |
| 17 | st b[0]; |
| 18 | } |
| 19 | @end |
| 20 | |
| 21 | @implementation Test @end |
| 22 | // CHECK-LP64: L_OBJC_CLASS_NAME_4: |
| 23 | // CHECK-LP64-NEXT: .asciz "\001\020" |