modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr41006-2.c (about) 1 typedef int *FARPROC; 2 static int * __restrict__ acceptex_fn; 3 4 int xWSAIoctl(void*); 5 static void get_fn(FARPROC* fn) 6 { 7 FARPROC func; 8 if (!xWSAIoctl( &func)) 9 *fn = func; 10 } 11 12 void get_fn_pointers() 13 { 14 get_fn((FARPROC*)&acceptex_fn); 15 }