Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-ctor4.C

raw
1 // PR c++/46873
2 // { dg-do compile { target c++11 } }
3
4 struct S
5 {
6 int i:1;
7 };
8
9 struct T
10 {
11 const S s;
12 constexpr T (S a = S ()) : s (a) { }
13 };
14
15 T t;