* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-47969.C
blob933831b94de5a567eeca15ea2f2a24aed10a3cd0
1 // PR c++/47969
2 // { dg-do compile { target c++11 } }
4 struct A
6   // constexpr operator int () { return 1; }
7 };
9 constexpr A a = A();
11 int ar[a]; // { dg-error "has non-integral type" }