repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
crash50.C
blob
630eb25a94d68f35088f5ce9489b17b132d7b77b
1
// Contributed by Dodji Seketeli <dodji@redhat.com>
2
// Origin PR c++/38636
3
// { dg-do compile }
4
5
struct A; // { dg-message "forward declaration of 'struct A'" }
6
7
A::A(
8
9
struct B; // { dg-error "expected '\\)' before ';' token|invalid use of incomplete type 'struct A'" }
10