blob: a1f54e8c5fe67e2daf8f7e24a4b5e4dca331451d [file] [log] [blame]
/* { dg-require-effective-target indirect_calls } */
/* 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) ();
}