* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist40.C
blob6e6a11a64541b1f5393365790e16a74719c5d028
1 // PR c++/54835, DR 1518
2 // { dg-do compile { target c++11 } }
4 struct A
6   explicit A(int = 42);
7 };
9 int main()
11   A a1 = { };                   // { dg-error "explicit" }
12   A a2 = { 24 };                // { dg-error "explicit" }