IRA: Ignore debug insns for uses in split_live_ranges_for_shrink_wrap. [PR116179]
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / function-ptr-3.c
blob348ee4a0cb3f487a0bbb7fd699ce1cc84b0544b7
1 #include <stdlib.h>
3 typedef void *(*alloc_func_t) (size_t);
4 typedef void (*free_func_t) (void *);
6 typedef struct callbacks
8 alloc_func_t alloc_cb;
9 free_func_t dealloc_cb;
10 } callbacks_t;
12 void test (void)
14 callbacks_t cb;
15 cb.alloc_cb = (alloc_func_t)0;
16 cb.dealloc_cb = (free_func_t)0;