* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr51225.C
blob5b4e432f7edad849340c8be5cd46b51e08b91705
1 // PR c++/51225
2 // { dg-do compile { target c++11 } }
4 template<int> struct A {};
6 template<typename> void foo()
8   A<int(x)> a; // { dg-error "not declared|could not convert" }
11 template<typename> struct bar
13   static constexpr A<1> b = A<1>(x); // { dg-error "not declared" }