1 /* { dg-do compile { target *-*-osf5* } } */
2 /* { dg-final { scan-assembler "xyzzy_one" } } */
3 /* { dg-final { scan-assembler "xyzzy_two" } } */
4 /* { dg-final { scan-assembler "xyzzz_three" } } */
5 /* { dg-final { scan-assembler "four" } } */
6 /* { dg-final { scan-assembler-not "_four" } } */
8 #ifndef __EXTERN_PREFIX
12 #pragma extern_prefix "xyzzy_"
14 extern "C" int one(void);
15 extern "C" int two(void);
17 #pragma extern_prefix "xyzzz_"
19 extern "C" int three(void);
21 #pragma extern_prefix ""
23 extern "C" int four(void);
26 (void *) one, (void *) two, (void *) three, (void *) four