Fariborz Jahanian | f96bdf4 | 2011-01-03 19:23:18 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -O0 -S %s -o %t-64.s |
2 | // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s | ||||
3 | |||||
4 | // rdar://8800513 | ||||
5 | @interface NSObject { | ||||
6 | id isa; | ||||
7 | } | ||||
8 | @end | ||||
9 | |||||
10 | typedef struct { | ||||
11 | id b; | ||||
12 | } st; | ||||
13 | |||||
14 | @interface Test : NSObject { | ||||
15 | int a; | ||||
16 | st b[0]; | ||||
17 | } | ||||
18 | @end | ||||
19 | |||||
20 | @implementation Test @end | ||||
21 | // CHECK-LP64: L_OBJC_CLASS_NAME_4: | ||||
22 | // CHECK-LP64-NEXT: .asciz "\001\020" |