8sa1-gcc/gcc/testsuite/g++.old-deja/g++.brendan/template6.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

31 lines
274 B
C

// Build don't link:
// GROUPS passed templates
struct B {
};
struct X : B {
~X ();
};
struct Request {
X s;
};
template <class ET> class TC {
ET data;
};
struct TMem {
~TMem() {}
TC<Request> *req;
};
struct FIO {
void init ();
FIO () { init(); }
};