Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
crash21.C
blob: dd98502c3a5c0d1489ffc088bdbb7dedc9ea6c86 [
file
] [
log
] [
blame
]
// Build don't link:
// Origin: Gabriel Dos Reis <gdr@codesourcery.com>
struct
A
{
virtual
void
f
(
int
&)
const
;
};
struct
B
:
public
A
{
int
x
;
};
void
B
::
f
(
int
&
t
)
{
// ERROR - undeclared method
x
=
t
;
}