summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/tempcons.C
blob: a9974dbf779aaef18b2b2c4f8b102d5c49d49687 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// Bug: member initializers are allowed where they shouldn't be.

template <class T>
struct A {
  int i;
  Blarg () : i(0) { }		// { dg-error "" } 
};