1 /* { dg-do compile { target bfin-*-* } } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-not "call\[^\\n\]*foo" } } */
4 /* { dg-final { scan-assembler-not "jump\[^\\n\]*foo" } } */
5 /* { dg-final { scan-assembler "call\[^\\n\]*baz" } } */
6 /* { dg-final { scan-assembler "jump\[^\\n\]*baz" } } */
7 /* { dg-final { scan-assembler "call\[^\\n\]*bar" } } */
8 /* { dg-final { scan-assembler "jump\[^\\n\]*bar" } } */
10 extern void foo () __attribute__((longcall
));
11 extern void bar () __attribute__((shortcall
));