blob: 1d8e9986c51f2d7a1bd40dcf26c5430b77d49b0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// 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 ();
}
|