* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-static6.C
blob99e456985b61d20e7c7af25e2e8f39700380af4b
1 // { dg-do compile { target c++11 } }
3 struct B
5   constexpr operator int() const { return 4; }
6 };
8 template <int I>
9 struct C;
11 template<>
12 struct C<4> { typedef int TP; };
14 template <class T>
15 struct A
17   constexpr static B t = B();
18   C<t>::TP tp;
21 A<B> a;