* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / inh-ctor8.C
blob74c9496701b13dadbcf941429d735895644fe3ca
1 // { dg-do compile { target c++11 } }
3 struct A
5   int i;
6   explicit A(int i): i(i) {}
7 };
9 struct B: A
11   using A::A;
14 void f(B);
16 int main()
18   f(B(42));                     // OK
19   f(42);                        // { dg-error "could not convert" }