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 .;." } */