* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-sassert.C
blob7f82671b442527194c4cc3da133dd1d7b65841ad
1 // Allow static_assert in constexpr constructors, too.
2 // { dg-do compile { target c++11 } }
4 template<typename T>
5 struct A
7   int i;
9   constexpr A(int i) : i(i)
10   {
11     static_assert(sizeof(T) == 1, "");
12   }