* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / nsdmi3.C
blobd2e74392487558a6140240ae904d22d618d70a14
1 // { dg-do compile { target c++11 } }
3 struct A
5   int i;
6   explicit constexpr A(int i): i(i) {}
7 };
9 struct B
11   A a1 = 1;                     // { dg-error "" }
12   A a2 { 2 };
13   A a3 = { 3 };                 // { dg-error "explicit" }
16 constexpr B b;                  // { dg-error "B::B" }
18 // { dg-prune-output "B::a1" }