* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / static_assert5.C
blob36cf2eb3b968c844a4e4b1f1553e5e0f8e66c62c
1 // PR c++/50837
2 // { dg-do compile { target c++11 } }
4 template<class T>
5 struct z
7   static constexpr bool test_constexpr()
8   {
9     return true;
10   }
12   static void test()
13   {
14     static_assert(test_constexpr(), "test1");
15   }
18 int main()
20   z<int>::test();