Fariborz Jahanian | d09a456 | 2009-04-02 18:44:20 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -fsyntax-only -verify %s |
2 | |||||
3 | @interface MyObject { | ||||
4 | int _foo; | ||||
5 | } | ||||
6 | @end | ||||
7 | |||||
8 | @interface MyObject(whatever) | ||||
9 | @property (assign) int foo; | ||||
10 | @end | ||||
11 | |||||
12 | @interface MyObject() | ||||
13 | @property (assign) int foo; | ||||
14 | @end | ||||
15 | |||||
16 | @implementation MyObject | ||||
17 | @synthesize foo = _foo; | ||||
18 | @end |