repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
objc.dg
/
class-2.m
blob
b98d117f54c5f9df08b21e9dea968a26ed2081ec
1
/* 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 } */