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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [objc.dg/] [class-1.m] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 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.