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