* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-incomplete2.C
bloba04f1d51d22c7666312fd1d87497cf6dea74879b
1 // A constructor that might or might not be constexpr still makes
2 // its class literal.
3 // { dg-do compile { target c++11 } }
5 template <class T>
6 struct B
8   constexpr B(T) { }
9   constexpr B() {}
12 struct A
14   B<A> b;
17 constexpr A a {};
19 template <class T>
20 struct C
22   constexpr C(T) { }
23   C() {}
26 struct D
28   C<D> c;
31 constexpr D d {};               // { dg-error "non-.constexpr. function" }