1/* Test @class.  */
2/* { dg-do compile } */
3
4@class Object; /* Ok */
5
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 */
10
11@class Object                               /* { dg-error "expected .;." } */
12