Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
ipa
/
pr65008.C
blob: 84f10bb276c80baf639ed50ed7d412f893ac75b8 [
file
] [
log
] [
blame
]
// PR ipa/65008
// { dg-do compile }
// { dg-options "-O2" }
struct
A
{
A
();
virtual
void
foo
()
{}
};
static
inline
void
__attribute__
((
always_inline
))
call_foo
(
A
*
a
)
{
a
->
foo
();
}
A
::
A
()
{
call_foo
(
this
);
}