URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [tempover.C] - Rev 12
Compare with Previous | Blame | View Log
// { 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);