2 static __attribute__((__pure__
)) int pure_int(int v
)
8 static __attribute__((__pure__
)) void *pure_ptr(void *p
)
14 static void foo(int v
, void *p
)
16 int val
= pure_int(v
);
17 void *ptr
= pure_ptr(p
);
24 * check-name: Pure function attribute