summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/qualified1.C
blob: 6dfb87e177ca54277123007e9f55aa27ed49b80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct A {};

struct B : public A
{
    static void foo ();
};

template <typename T> struct C
{
    C() : f(B::foo) {}
    void (*f)();
};

C<int> c;