PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20041212-1.c
blobea2d0fbd78e9fed18b913e26a545b47c560c2291
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)
7 return f;
9 int
10 main (void)
12 if (f () != f)
13 abort ();
14 exit (0);