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