Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
opt
/
call1.C
blob: 642e024084927a7dd7ac4cfbbf969bbd2cccb33a [
file
] [
log
] [
blame
]
// { dg-options "-O2" }
void
a
(
void
(*
f
)())
{
f
();
}
struct
RunState
{
static
void
runcallback
()
{
}
static
void
wait
()
{
a
(
runcallback
);
}
};
int
main
()
{
RunState
::
wait
();
return
0
;
}