blob: 5f56e4e88f11d4bef8e9647f393f6ee306efb0c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// { dg-do assemble }
// 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);
|