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-2.m] - Blame information for rev 309

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 309 jeremybenn
/* Test super classes.  */
2
/* { dg-do compile } */
3
 
4
@interface supclass1
5
@end
6
 
7
@interface supclass2
8
@end
9
 
10
@interface class1 : supclass1
11
@end
12
 
13
@implementation class1 : supclass2 /* { dg-error "conflicting super class name" } */
14
@end /* { dg-error "previous declaration" "" { target *-*-* } 13 } */

powered by: WebSVN 2.1.0

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