blob: 249fae00284a6862b3bf6bc714365b2e7344e41a [file] [log] [blame]
/* Check that the option -mdiv=call-div1 works. */
/* { dg-do link } */
/* { dg-options "-mdiv=call-div1" } */
/* { dg-skip-if "" { "sh*-*-*" } { "-m5*"} { "" } } */
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);
}