PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / pr83825.C
blobba3ff4dcee248dc61e1954e066466a8960387fc0
1 // PR c++/83825
2 // { dg-do compile }
4 template <int A>
5 class A {};     // { dg-error "shadows template parameter" }
7 template <int I>
8 class B
9
10   void foo () { A <I> a; }
13 template void B <0>::foo ();