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
http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
[official-gcc.git]
/
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
};