Rebase.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / crash50.C
blob630eb25a94d68f35088f5ce9489b17b132d7b77b
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin PR c++/38636
3 // { dg-do compile }
5 struct A; // { dg-message "forward declaration of 'struct A'" }
7 A::A(
9 struct B; // { dg-error "expected '\\)' before ';' token|invalid use of incomplete type 'struct A'" }