☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor17.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-ctor17.C
code
plain
raw
1
// PR c++/57820
2
// { dg-do compile { target c++11 } }
3
4
struct C
5
{
6
int a = 2;
7
int b = a + 1;
8
9
constexpr C() {}
10
};
11
12
C c;
13
constexpr C d;