* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-value.C
blob87311876e3e320b646bd27c60c508b2165c30ee5
1 // { dg-do compile { target c++11 } }
3 struct HopefullyLiteral {
4   HopefullyLiteral() = default; // Should be a constexpr c'tor as of 12.1/6 and 8.4.2/4
5 };
7 constexpr HopefullyLiteral var1{}; // OK
8 constexpr HopefullyLiteral var2 = HopefullyLiteral{}; // #1
9 constexpr HopefullyLiteral var3 = HopefullyLiteral(); // #2
10 constexpr HopefullyLiteral var4 = HopefullyLiteral(var3); // #3