* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-union2.C
blob1a5e832ac341805e5ac7643febbeb1c018169dfd
1 // PR c++/51675
2 // { dg-do compile { target c++11 } }
4 union foo
6   int x = 0;
7   short y;
9   constexpr foo() = default;
12 union bar
14   int x;
15   short y;
17   constexpr bar() = default;    // { dg-error "constexpr" }