* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-nonlit.C
blob0534b41ad06be96e8d1cc9b8202329937ca34f90
1 // FIXME this is currently invalid, but seems like it should be OK
2 // { dg-do compile { target c++11 } }
4 struct A { A() { } };
6 template<class T>
7 constexpr bool ignore(T&&) { return true; }
9 static_assert(ignore(10), "Error"); // OK
11 A s;
13 static_assert(ignore(s), "Error"); // Currently an error