summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg9.C
blob: 0dd7f09c0d5656bab30797bb70858bdec36db485 (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// GROUPS passed error-messages
class foo {
public:
  int ~foo ();// { dg-error "" }  return type specification for destructor invalid.*
};