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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [objc.dg/] [naming-2.m] - Blame information for rev 309

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 309 jeremybenn
/* Test for collision of @interfaces with global vars.  */
2
/* Author: Ziemowit Laski <zlaski@apple.com>.  */
3
/* { dg-do compile } */
4
 
5
@interface Foo
6
@end
7
float Foo;  /* { dg-error "parse error|syntax error|expected" } */
8
 
9
double Bar;
10
@interface Bar
11
@end  /* { dg-error "redeclared as different kind of symbol" } */
12
/* { dg-error "previous declaration of" "" { target *-*-* } 9 } */

powered by: WebSVN 2.1.0

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