summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg5.C
blob: 1837e2fc71faf8898148264554b9b2f454ba1f17 (plain)
1
2
3
4
// { dg-do assemble  }
// GROUPS passed error-messages
class foo {};
~foo () {}// { dg-error "" }  destructors must be member functions.*