Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr38140.c
blob: 35f6010089ef020aac0f3f5676ea8a506b8eac80 [
file
] [
log
] [
blame
]
/* PR middle-end/38140 */
/* { dg-do compile } */
/* { dg-options "-O2 -fno-strict-aliasing" } */
int
foo
(
void
*
x
)
{
int
(*
fn
)
(
int
);
*(
void
**)&
fn
=
x
;
return
fn
(
6
);
}