* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-59937-2.C
blobe67d9467a46eeb3e1720eb8bbaf7e94c73fa5bc3
1 // PR c++/59937
2 // { dg-do compile { target c++11 } }
4 template<typename T> constexpr bool truth(const T&) { return true; }
6 template<typename T>
7 void test()
9   int i[1];
10   constexpr bool untrue = !truth(i);
11   static_assert(!untrue, "");