Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Fariborz Jahanian | d09a456 | 2009-04-02 18:44:20 +0000 | [diff] [blame] | 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 |