[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / shadow2.C
blob22d6a28e0161e0a12a6a31e7f0ca6bfab61b5042
1 template <class A, // { dg-message "template parameter 'A'" }
2           template <class A> class B> // { dg-error "declaration of template parameter 'A' shadows" }
3 class X;