llvm-project
20 строк · 453.0 Байт
1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
2// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
3// RUN: diff %t %s.result
4
5#define nil ((void*) 0)
6
7@interface Foo
8@property (strong) id x;
9@property (strong) id y;
10@property (strong) id w;
11@property (strong) id z;
12@end
13
14@implementation Foo
15@synthesize x;
16@synthesize y;
17@synthesize w;
18@synthesize z;
19
20@end
21