ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/sh/pr49880-2.c

22 lines
315 B
C

/* Check that the option -mdiv=call-fp works. */
/* { dg-do link } */
/* { dg-options "-mdiv=call-fp" } */
int
test00 (int a, int b)
{
return a / b;
}
unsigned int
test01 (unsigned int a, unsigned b)
{
return a / b;
}
int
main (int argc, char** argv)
{
return test00 (argc, 123) + test01 (argc, 123);
}