☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-union3.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-union3.C
code
plain
raw
1
// PR c++/51675
2
// { dg-do compile { target c++11 } }
3
4
union foo
5
{
6
int x;
7
short y;
8
9
constexpr foo(): x(0) { }
10
};
11
12
constexpr foo f;