rt_gccstream/gcc/testsuite/gcc.c-torture/compile/20011106-1.c

8 lines
229 B
C

/* Test that functions passed to the comma operator are correctly converted
to pointers. */
/* Origin: Joseph Myers <jsm28@cam.ac.uk>. */
void foo (void);
void (*fp) (void);
char x[sizeof (1, foo) == sizeof (fp) ? 1 : -1];