☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-100111.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-100111.C
code
plain
raw
1
// PR c++/100111
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-fno-elide-constructors" }
4
5
struct A {};
6
struct B : A { int b; constexpr B (A x) : A(x), b() {} };
7
struct C { B c; constexpr C () : c({}) {} } d;