Home | History | Annotate | Download | only in CodeGenObjC
      1 // REQUIRES: x86-registered-target
      2 // RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-64.s
      3 // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
      4 // 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 // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
      6 
      7 @interface NSObject {
      8   id isa;
      9 }
     10 @end
     11 
     12 @interface AllPointers : NSObject {
     13     id foo;
     14     void *__strong bar;    NSObject *bletch;}
     15 @end
     16 @implementation AllPointers
     17 @end
     18 
     19 // CHECK-LP64: L_OBJC_CLASS_NAME_.6:
     20 // CHECK-LP64-NEXT: .asciz	"\004"
     21