view gcc/testsuite/gcc.c-torture/compile/20011106-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* 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];