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

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

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