summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/property/property-neg-6.m
blob: 7059a56f0944ad11d7d69d88b77fc18d8728a2f2 (plain)
1
2
3
4
5
6
7
8
9
/* Check for proper declaration of @property. */
/* { dg-do compile } */

@interface Bar
{
  int iVar;
}
@property int FooBar /* { dg-error "expected ':', ',', ';', '\}' or '__attribute__' at end of input" } */
/* { dg-error "expected ..end. at end of input" "" { target *-*-* } 8 } */