☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor4.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-ctor4.C
code
plain
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;