aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t35.C
blob: f0ed971ae470eeaf150c6346016161e9f20420fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link: 
// Special g++ 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;