Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
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
();
}