summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/err1.C
blob: 8e15dd27ae49fd4b4f9559a63cb1d7b68f14b7b9 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }

struct gorf {
  int stuff;
  void snarf();			// { dg-error "" } 
};

template <class T> void gorf::snarf() { return; }  // { dg-error "" }