* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-array4.C
blobaa95264941783643671f0b3d80ebcb5988cf0d7b
1 // PR c++/49924
2 // { dg-do compile { target c++11 } }
4 struct A { constexpr A() { } };
6 struct B {
7   A array[1]; //non-static member array of a literal type w constexpr ctor
8   constexpr B() : array{} { } // here is the problem
9 };
11 int main()
13   constexpr B b{};  // won't compile