summaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/property/property-neg-6.mm
blob: 86bb664851c86602f56efa7942eb390e35bef9cd (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 ';' at end of input" } */
		     /* { dg-error "expected '@end' at end of input" "" { target *-*-* } 8 } */