modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/20081108-1.c (about)

     1  /* Test function call with function designator involving VLA
     2     side-effects does not lead to an ICE.  */
     3  
     4  void f (void);
     5  void g (void);
     6  
     7  void
     8  h (int a, void *b)
     9  {
    10    ((void *)(int (*)[++a])b ? f : g) ();
    11  }