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
/
constexpr-list1.C
blob
f831a112cc9a5927ef02d2130fcec3e706c6894e
1
// PR c++/72457
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
int i;
6
constexpr A(): i(0) {}
7
};
8
9
struct B: A { };
10
11
struct C
12
{
13
B b;
14
constexpr C() : b{} {}
15
};