| 1 |
/* Check for proper declaration of @property. */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
|
| 4 |
@interface Bar |
| 5 |
{ |
| 6 |
int iVar; |
| 7 |
} |
| 8 |
@property int FooBar /* { dg-error "expected ';' at end of input" } */ |
| 9 |
/* { dg-error "expected '@end' at end of input" "" { target *-*-* } .-1 } */ |