repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
naming-3.mm
blob
dda15fc68bed8c81b699cac8182a5b4f31faef77
1
/* Testing for detecting duplicate ivars. */
2
/* { dg-do compile } */
3
4
@interface A
5
{
6
char x; /* { dg-message "previous declaration" } */
7
char x;
8
} /* { dg-error "redeclaration" } */
9
@end
10
11
@interface B : A
12
{
13
char y;
14
}
15
@end