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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-empty1.C
blob
66d94e538240c986d39b839fb2ab383b294f3960
1
// PR c++/82764
2
// { dg-do compile { target c++11 } }
3
4
struct Empty {};
5
struct Empty2 : Empty {};
6
7
struct A : Empty2
8
{
9
int x {1};
10
int y {2};
11
};
12
13
struct B
14
{
15
A a {};
16
};
17
18
B b;