Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr77754-4.c

raw
1 // { dg-require-effective-target indirect_calls }
2 /* PR c/77754 */
3
4 int fn3();
5
6 typedef void (*fn6) (int[][fn3 ()]);
7 struct S {
8 fn6 **fn7;
9 fn6 *fn8;
10 fn6 fn9;
11 } s;
12
13 void fn1 () {
14 int a[10][fn3 ()];
15 (**s.fn7) (a);
16 (*s.fn8) (a);
17 s.fn9 (a);
18 }