aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/spec33.C
blob: 7b7a7519829aeb988f50d2073181de86eaeb3a78 (plain)
1
2
3
4
5
6
7
//PR c++/27667

struct A
{
    template<int> static void foo   () {}
    template<>    static void foo<0>() {}  // { dg-error "explicit|template" }
};