Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr46154.C
blob: 424b1fad83b4a94964b01d467ee785857e830fd4 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fipa-cp-clone" } */
struct
S
{
virtual
int
foo
()
{
return
foo
()
==
0
;
}
virtual
void
baz
();
};
void
A
()
{
S s
;
s
.
foo
();
}