aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/fnname4.C
blob: 65409875eca77e048439b98bd81005307b56fa65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/59004

template<int z> class A {};

template<int x>
class B {
public:
    static const int y = (x != -1 ? 0 : 0);

    template<int z> void g(const A<y> &a) {
        const char *x2 = __func__;
    }
};
template void B<0>::g<0>(const A<0> &);