[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / longcall-2.c
blobfc73cee3fb499864f7cbefefa59e60d9a81fcb09
1 /* { dg-do run } */
2 /* { dg-options "-mlongcall" } */
4 extern void abort (void);
6 #define VAL 12345678
8 int j = VAL;
10 void
11 bar (void)
13 if (j != VAL)
14 abort ();
17 int
18 main (void)
20 int i = VAL;
22 int foo (void)
24 if (i != VAL)
25 abort ();
28 foo ();
29 bar ();
31 return 0;