gcc/testsuite/g++.dg/cpp0x/pr71251.C
raw| 1 | // { dg-do compile { target c++11 } } |
| 2 | |
| 3 | template<int,int> template<typename> |
| 4 | using U = void; // { dg-error "too many" } |
| 5 | |
| 6 | template<typename> |
| 7 | using V = void; |
| 8 | |
| 9 | template<typename> struct X { |
| 10 | template<typename> template<typename> |
| 11 | using U = void; // { dg-error "too many" } |
| 12 | |
| 13 | template<typename> |
| 14 | using V = void; |
| 15 | }; |