summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t11.C
blob: 07abc716ce9aaf10251edb037869e03de06f4c66 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }

template <class A>
class B {
public:
  A a;
  B() { x = 2; }	// { dg-error "" } no x
};
static B<int> bi;