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++.pt/] [t35.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "" }
template<class X> struct A {
A ();
~A();
int x, y, z;
};
template <class Y> inline A<Y>::A () { x = y = 3; z = 99; }
template <class Z> inline A<Z>::~A() { y = 9999; }
A<int> ai;