PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pragma-re-1.c
blob78312e5705446219128af6bff85429da07c463c2
1 /* { dg-final { scan-assembler "bar" } } */
2 /* { dg-final { scan-assembler-not "foo" } } */
4 #ifndef __PRAGMA_REDEFINE_EXTNAME
5 #error
6 #endif
8 #pragma redefine_extname foo bar
9 extern int foo(void);
10 int (*p)(void) = foo;