URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [at-class-1.mm] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test @class. */
/* { dg-do compile } */
@class Object; /* Ok */
@class Object, ; /* { dg-error "expected identifier" } */
@class Object, ; /* { dg-error "expected identifier" } */
@class Object, AnotherObject, ; /* { dg-error "expected identifier" } */
@class Object, AnotherObject, TestObject ; /* Ok */
@class Object /* { dg-error "expected .;." } */
Go to most recent revision | Compare with Previous | Blame | View Log