Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gcc.target / sh / pr49880-2.c
blob35e23dec438530c2099e6122ff86aa7236660cab
1 /* Check that the option -mdiv=call-fp works. */
2 /* { dg-do link } */
3 /* { dg-options "-mdiv=call-fp" } */
4 /* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } } */
6 int
7 test00 (int a, int b)
9 return a / b;
12 unsigned int
13 test01 (unsigned int a, unsigned b)
15 return a / b;
18 int
19 main (int argc, char** argv)
21 return test00 (argc, 123) + test01 (argc, 123);