Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.old-deja
/
g++.jason
/
complete1.C
blob: d854ffdec07bc04d90693f7b4b14ee3f01813ea6 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// PRMS Id: 4695
// Bug: g++ wrongly requires A to be complete here.
struct
A
;
void
foo
(
const
A
&);
void
bar
(
A
*
p
)
{
foo
(*
p
);
}