* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist-value2.C
blob1b4cde769da0c08cfed641b12d59ecd44fa7e23e
1 // Test that we properly value-initialize a class with a user-provided
2 // constructor but defaulted default constructor.  The FDIS got this
3 // wrong; see c++std-core-19883.
5 // { dg-do run { target c++11 } }
7 struct A
9   int i;
10   A() = default;
11   A(int);
14 int main()
16   A a{};
17   if (a.i != 0)
18     return 1;