Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr59622.C
blob: 1d8e9986c51f2d7a1bd40dcf26c5430b77d49b0e [
file
] [
log
] [
blame
]
// PR tree-optimization/59622
// { dg-do compile }
// { dg-options "-O2" }
namespace
{
struct
A
{
virtual
int
foo
();
int
bar
()
{
return
foo
();
}
};
}
int
baz
()
{
A a
;
return
a
.
bar
();
}