2011-01-25 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr47426-1.c
blob47dcff91302543067bc0939ed0875a5570fad5dc
1 /* { dg-do run } */
2 /* { dg-options "-fipa-pta" } */
3 /* { dg-additional-sources "pr47426-2.c" } */
5 void bar (int *i);
7 static void
8 foo (int *i)
10 if (*i)
11 bar (i);
12 if (*i)
13 __builtin_abort();
16 typedef void tfoo (int *);
18 tfoo *
19 getfoo (void)
21 return &foo;