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/] [class-1.m] - Blame information for rev 309

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 309 jeremybenn
/* Redeclarations of class names.  */
2
/* { dg-do compile } */
3
 
4
typedef int foo;
5
 
6
@class foo;  /* { dg-error "redeclared as different kind of symbol" } */
7
/* { dg-error "previous declaration of" "" { target *-*-* } 4 } */
8
 
9
typedef int bar;
10
 
11
@interface bar
12
@end  /* { dg-error "redeclared as different kind of symbol" } */
13
/* { dg-error "previous declaration of" "" { target *-*-* } 9 } */
14
 
15
int glob;
16
 
17
@implementation glob
18
@end  /* { dg-error "redeclared as different kind of symbol" } */
19
/* { dg-error "previous declaration of" "" { target *-*-* } 15 } */
20
/* { dg-warning "annot find interface declaration" "" { target *-*-* } 18 } */

powered by: WebSVN 2.1.0

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