Fix typo
[official-gcc.git] / gcc / testsuite / gcc.dg / pragma-re-1.c
blob80b1d3731f234dcb748a9efb22ef6828a152fd3b
1 /* { dg-do compile { target *-*-solaris* } } */
2 /* { dg-final { scan-assembler "bar" } } */
3 /* { dg-final { scan-assembler-not "foo" } } */
5 #ifndef __PRAGMA_REDEFINE_EXTNAME
6 #error
7 #endif
9 #pragma redefine_extname foo bar
10 extern int foo(void);
11 void *p = (void *)foo;