Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr60912.C
blob: ad51ba72570ea427ead70405b594c093eeb8fc5a [
file
] [
log
] [
blame
]
// { dg-do run }
// { dg-options "-O -fno-inline -fipa-pta" }
struct
IFoo
{
virtual
void
Foo
()
=
0
;
};
struct
Bar
:
IFoo
{
void
Foo
()
{}
};
int
main
()
{
(
new
Bar
())->
Foo
();
return
0
;
}