Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
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
);
}