OSDN Git Service

* gcc.c-torture/compile/20021120-1.c: New test.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20011106-1.c
1 /* Test that functions passed to the comma operator are correctly converted
2    to pointers.  */
3 /* Origin: Joseph Myers <jsm28@cam.ac.uk>.  */
4
5 void foo (void);
6 void (*fp) (void);
7 char x[sizeof (1, foo) == sizeof (fp) ? 1 : -1];