Merge trunk version 201119 into gupc branch.
[official-gcc.git] / gcc / testsuite / objc.dg / at-class-1.m
blob63721aa991703e72ba3516fa94e04c7e24eb8b4f
1 /* Test @class.  */
2 /* { dg-do compile } */
4 @class Object; /* Ok */
6 @class Object, ;                            /* { dg-error "expected identifier" } */
7 @class Object, ;                            /* { dg-error "expected identifier" } */
8 @class Object, AnotherObject, ;             /* { dg-error "expected identifier" } */
9 @class Object, AnotherObject, TestObject ;  /* Ok */
11 @class Object                               /* { dg-error "expected .;." } */