summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg6.C
blob: f30856b51d09926d9c9c73a6249766b1e95cedd7 (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// GROUPS passed error-messages
class foo {
public:
  ~bar () {}// { dg-error "" }  destructor `bar' must match class name `foo'.*
};