t35.C   [plain text]


// { 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;