David Chisnall | 891dac7 | 2012-10-16 15:11:55 +0000 | [diff] [blame] | 1 | // RUN: %clang -S -emit-llvm %s -o - -x objective-c -fobjc-runtime=gcc | FileCheck --check-prefix=GCC %s |
| 2 | // RUN: %clang -S -emit-llvm %s -o - -x objective-c -fobjc-runtime=gnustep-1.5 | FileCheck --check-prefix=GCC %s |
| 3 | // RUN: %clang -S -emit-llvm %s -o - -x objective-c -fobjc-runtime=gnustep-1.6 | FileCheck --check-prefix=GNUSTEP %s |
| 4 | // |
| 5 | @interface helloclass { |
| 6 | @private int varName; |
| 7 | } |
| 8 | @property (readwrite,assign) int propName; |
| 9 | @end |
| 10 | |
| 11 | @implementation helloclass |
| 12 | @synthesize propName = varName; |
| 13 | @end |
| 14 | // GCC-NOT: Ti,VvarName |
| 15 | // GNUSTEP: Ti,VvarName |