* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-4.C
blob1232e19a60cb057b733dcab516cdf66a0f35561e
1 // { dg-do compile { target c++11 } }
3 // [temp.alias]/3:
4 // The type-id in an alias template declaration shall not refer
5 // to the alias template being declared. The type produced by an
6 // alias template specialization shall not directly or indirectly
7 // make use of that specialization.
9 template <class T> struct A;
10 template <class T> using B = typename A<T>::U; // { dg-error "type" }
11 template <class T> struct A {
12     typedef B<T> U;
14 B<short> b;