modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/20041212-1.c (about) 1 /* A function pointer compared with a void pointer should not be canonicalized. 2 See PR middle-end/17564. */ 3 void *f (void) __attribute__ ((__noinline__)); 4 void * 5 f (void) 6 { 7 return f; 8 } 9 int 10 main (void) 11 { 12 if (f () != f) 13 abort (); 14 exit (0); 15 }