PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / spec33.C
blob7b7a7519829aeb988f50d2073181de86eaeb3a78
1 //PR c++/27667
3 struct A
5     template<int> static void foo   () {}
6     template<>    static void foo<0>() {}  // { dg-error "explicit|template" }
7 };