OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [at-class-1.m] - Rev 704

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

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.