repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.dg
/
tc1
/
dr85.C
blob
31dde8cbb5d429e5b111fceabc1c8f3bcb9186ef
1
// { dg-do compile }
2
// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3
// DR85: Redeclaration of member class
4
5
struct Base {
6
struct Data {};
7
struct Data; // { dg-error "" "redeclaration of nested class is invalid" { xfail *-*-* } }
8
};