1 /* { dg-require-effective-target indirect_calls } */
2
regex_subst(void)3 int regex_subst(void)
4 {
5 const void *subst = "";
6 return (*(int (*)(int))subst) (0);
7 }
8
foobar(void)9 int foobar (void)
10 {
11 int x;
12 return (*(int (*)(void))&x) ();
13 }
14