PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr71251.C
blob3df831bb581d0aa8bacec2a019a9bddf630cc229
1 // { dg-do compile { target c++11 } }
3 template<int,int> template<typename>
4 using U = void; // { dg-error "too many" }
6 template<typename>
7 using V = void;
9 template<typename> struct X {
10   template<typename> template<typename>
11   using U = void; // { dg-error "too many" }
13   template<typename>
14   using V = void;