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