URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [t35.C] - Rev 699
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;