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

12 lines
206 B
C

/* Test function call with function designator involving VLA
side-effects does not lead to an ICE. */
void f (void);
void g (void);
void
h (int a, void *b)
{
((void *)(int (*)[++a])b ? f : g) ();
}