summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/m4.C
blob: 19d5bc63880d4d1a0274958026f0851dd3d5b26a (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }

struct A1 { struct B { B(); } b; };
struct A2 { struct B { ~B(); } b; };
char xx[] ="../tests/m4.cc:1: warning: return type specification for constructor invalid";