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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
complete1.C
blob
d854ffdec07bc04d90693f7b4b14ee3f01813ea6
1
// { dg-do assemble }
2
// PRMS Id: 4695
3
// Bug: g++ wrongly requires A to be complete here.
4
5
struct A;
6
7
void foo(const A &);
8
9
void bar(A *p)
10
{
11
foo(*p);
12
}