summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr37433.c
blob: 0ba1179886cd9d1dc358362183aec55ddb6a4bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
int regex_subst(void)
{
  const void *subst = "";
  return (*(int (*)(int))subst) (0);
}

int foobar (void)
{
  int x;
  return (*(int (*)(void))&x) ();
}