blob: 267f947f42b6132eb323d8f20621fa661871f4cb [file] [log] [blame]
Galina Kistanova0ccb31c2011-06-03 22:24:54 +00001// REQUIRES: x86-64-registered-target
John McCall260611a2012-06-20 06:18:46 +00002// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -S %s -o %t-64.s
Fariborz Jahanianf96bdf42011-01-03 19:23:18 +00003// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
4
5// rdar://8800513
6@interface NSObject {
7 id isa;
8}
9@end
10
11typedef 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"