blob: ab243b3d12966ed0afcd2513c314d7356ec26bc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* 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);
}
|