Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git] / gcc / testsuite / gcc.dg / attr-ifunc-1.c
blobf1a198665635059c4baefebfa28f1d3cc5f6133f
1 /* { dg-do run } */
2 /* { dg-require-ifunc "" } */
3 /* { dg-options "" } */
5 static int implementation (void)
7 __builtin_printf ("'ere I am JH\n");
8 return 0;
11 static __typeof__ (implementation)* resolver (void)
13 return implementation;
16 extern int magic (void) __attribute__ ((ifunc ("resolver")));
18 int main ()
20 return magic () != 0;