Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20081217-2_0.C
blob: 3bc6ba997a5773812f80a5d749b699e828c6c7cf [
file
] [
log
] [
blame
]
struct
A
{
virtual
int
foo
()
{
return
0
;
}
};
struct
B
{
virtual
int
f
()
{
return
1
;
}
};
struct
C
:
public
A
,
public
B
{
C
();
virtual
int
f
()
{
return
0
;
}
};
C
::
C
()
{
}
int
main
()
{
C c
;
return
c
.
f
();
}