* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-template9.C
blob2ca641d77e3403c72abcca28cbc584361f9540ec
1 // PR c++/70543
2 // { dg-do compile { target c++11 } }
4 template <typename>
5 struct X
7   template <unsigned int = 0>
8   static constexpr int
9   calc (void)
10   {
11     return 0;
12   }
14   static constexpr unsigned int value = calc ();
16   char foo[value];