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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [naming-2.m] - Blame information for rev 774

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

Line No. Rev Author Line
1 704 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|redeclaration" } */
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.