Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash9.C
blob: f54d6387c291bdce578a37ef7bf3fe19b176b70c [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
T
>
void
f
(
T
)
{}
// { dg-message "initializing" }
class
C
;
// { dg-message "forward declaration" }
void
g
(
const
C
&
c
)
{
f
(
c
);
// { dg-error "invalid use of incomplete type" }
}