Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20081108-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
145 | 1 /* { dg-require-effective-target indirect_calls } */ |
2 | |
111 | 3 /* Test function call with function designator involving VLA |
4 side-effects does not lead to an ICE. */ | |
5 | |
6 void f (void); | |
7 void g (void); | |
8 | |
9 void | |
10 h (int a, void *b) | |
11 { | |
12 ((void *)(int (*)[++a])b ? f : g) (); | |
13 } |