Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr96335.c
blob: ab243b3d12966ed0afcd2513c314d7356ec26bc2 [
file
] [
log
] [
blame
]
/* PR middle-end/96335 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
void
bar
(
int
,
void
*)
__attribute__
((
__access__
(
__read_only__
,
2
)));
void
foo
(
void
*
x
)
{
void
(*
fn
)
()
=
bar
;
fn
(
0
,
x
);
}