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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [invalid-method-1.m] - Blame information for rev 754

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 jeremybenn
/* { dg-do compile } */
2
/* Test that we keep compiling if a method definition is found outside
3
   of an @implementation context.
4
*/
5
 
6
+ (void)C { } /* { dg-error "method definition not in @implementation context" } */
7
 
8
/* We have another error here to test that the compiler is still going and
9
   finding errors in the rest of the code.
10
*/
11
@compatibility_alias class1 class2; /* { dg-warning "annot find class" } */

powered by: WebSVN 2.1.0

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