1 /* Copyright (C) 2006 Free Software Foundation, Inc. */
2 /* Contributed by Carlos O'Donell on 2006-01-27 */
3 
4 /* Origin: Carlos O'Donell <carlos@codesourcery.com> */
5 /* { dg-final { scan-assembler "_foo" } } */
6 /* { dg-final { scan-assembler-not "_foo64" } } */
7 
8 #define foo     _foo
9 #define foo64   _foo64
10 extern int foo(void);
11 extern int foo64(void);
12 #pragma redefine_extname foo64 foo
13 int
bar()14 bar()
15 {
16         return (foo64());
17 }
18