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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr77626.C
blob
d57551cbf6eef5b7734c00b2429c97497c9f8477
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
}