Galina Kistanova | 0ccb31c | 2011-06-03 22:24:54 +0000 | [diff] [blame] | 1 | // REQUIRES: x86-64-registered-target |
John McCall | 260611a | 2012-06-20 06:18:46 +0000 | [diff] [blame^] | 2 | // RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -S %s -o %t-64.s |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 3 | // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s |
John McCall | 260611a | 2012-06-20 06:18:46 +0000 | [diff] [blame^] | 4 | // RUN: %clang_cc1 -x objective-c++ -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -S %s -o %t-64.s |
Fariborz Jahanian | a5da902 | 2010-05-19 23:07:54 +0000 | [diff] [blame] | 5 | // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s |
Fariborz Jahanian | 6d9eae6 | 2009-08-24 21:55:06 +0000 | [diff] [blame] | 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" |