LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / attr-ifunc-5.c
blob1ecc391f7397476ee200fa5e5316bd27a6591127
1 /* { dg-do run } */
2 /* { dg-require-ifunc "" } */
3 /* { dg-options "" } */
5 #include <stdio.h>
7 static int implementation (void)
9 printf ("'ere I am JH\n");
10 return 0;
13 static __typeof__ (implementation)* resolver (void)
15 return (void *)implementation;
18 extern int magic (void) __attribute__ ((ifunc ("resolver"),visibility ("hidden")));
20 int main ()
22 return magic () != 0;