aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash33.C
blob: bc7dcf5c4c7cf3931e43c398c94fe3212fdbb1cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Build don't link:
// Origin: Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>

class A {
public:
        template <class T> T& f(T& t) const;
};

class B {
public:
        template <class T> T& f(T& t) const;
};

class C: public A,B {
public:
        template <class T> T& f(T& t) const;
};