OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/tc1: New directory.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
tc1
/
dr85.C
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
};