Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
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
;
}