* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-trivial2.C
blob005f07befb9cd9518b8326be5d54adc2fbaa4a5d
1 // PR c++/77945
2 // { dg-do compile { target c++11 } }
4 struct T 
5
6     int x = 0; 
7     bool y = 0; 
8     constexpr T() {}
9 };
11 int main()
13     constexpr T t = (T{} = T{}); // { dg-error "" "" { target c++11_only } }