xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-layout-no-optimize.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc// REQUIRES: x86-64-registered-target
2*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-64.s
3*f4a2713aSLionel Sambuc// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
4*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -x objective-c++ -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-64.s
5*f4a2713aSLionel Sambuc// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
6*f4a2713aSLionel Sambuc
7*f4a2713aSLionel Sambuc@interface NSObject {
8*f4a2713aSLionel Sambuc  id isa;
9*f4a2713aSLionel Sambuc}
10*f4a2713aSLionel Sambuc@end
11*f4a2713aSLionel Sambuc
12*f4a2713aSLionel Sambuc@interface AllPointers : NSObject {
13*f4a2713aSLionel Sambuc    id foo;
14*f4a2713aSLionel Sambuc    void *__strong bar;    NSObject *bletch;}
15*f4a2713aSLionel Sambuc@end
16*f4a2713aSLionel Sambuc@implementation AllPointers
17*f4a2713aSLionel Sambuc@end
18*f4a2713aSLionel Sambuc
19*f4a2713aSLionel Sambuc// CHECK-LP64: L_OBJC_CLASS_NAME_6:
20*f4a2713aSLionel Sambuc// CHECK-LP64-NEXT: .asciz	"\004"
21