Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
ipa
/
pr59355.C
blob: 907c6d74501b609cb512ce3365e55be963ca7a8e [
file
] [
log
] [
blame
]
// PR tree-optimization/59355
// { dg-do compile }
// { dg-options "-O2 -fno-devirtualize" }
struct
S
{
virtual
void
bar
();
};
void
foo
(
S
*
s
)
{
s
->
bar
();
}