| Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -fsyntax-only -verify %s |
| Fariborz Jahanian | 573acde | 2009-01-17 23:21:10 +0000 | [diff] [blame] | 2 | |
| 3 | @interface MyClass { | ||||
| 4 | |||||
| 5 | }; | ||||
| 6 | @property unsigned char bufferedUTF8Bytes[4]; // expected-error {{property cannot have array or function type}} | ||||
| 7 | @property unsigned char bufferedUTFBytes:1; // expected-error {{property name cannot be a bitfield}} | ||||
| 8 | @end | ||||
| 9 | |||||
| 10 | @implementation MyClass | ||||
| 11 | @end | ||||
| 12 | |||||