☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr77626.C
☽
☼
gcc/testsuite/g++.dg/other/pr77626.C
code
plain
raw
1
// PR c++/77626
2
// { dg-do compile }
3
4
struct B; // { dg-message "forward declaration of" }
5
struct A { struct B b; }; // { dg-error "has incomplete type" }
6
void bar (int);
7
8
void
9
foo ()
10
{
11
A a;
12
bar ((int &) a);
13
}