* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist38.C
blob816f94cf22ab4964ec020b595cf46d0b2473b54b
1 // DR 990
2 // { dg-do compile { target c++11 } }
4 #include <initializer_list>
6 struct A {
7   A(std::initializer_list<int>);  // #1
8 };
9 struct B {
10   A a;
13 void f (B);
14 int main()
16   B{};
17   f({});
18   B b0 = { };
19   B b1 { };    // OK, uses #1
20   B b2 { 1 };  // { dg-error "could not convert" }