aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/tempover.C
blob: 0998f692a5918fbdbfc40e083adca38fed725269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Build don't link: 
// GROUPS passed templates overloading
#define TEMPL template <class T>
 
class B {};
 
TEMPL class A : virtual public B {
  public:
    A(int);
};
 
TEMPL A<T>::A(int){}
 
A<double> a(1);