aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/callind.c
blob: 893f4e764acbdf7c7f0ad63bbc5ae87a3ba6d526 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-require-effective-target indirect_calls } */

bar (foo, a)
     int (**foo) ();
{

  (foo)[1] = bar;

  foo[a] (1);
}