OSDN Git Service

PR c/456
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20081108-1.c
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 }