2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / sh / pr49880-3.c
blobdd4f9b2d8dc844d51075db1f073eb64656e616c3
1 /* Check that the option -mdiv=call-table works. */
2 /* { dg-do link } */
3 /* { dg-options "-mdiv=call-table" } */
5 int
6 test00 (int a, int b)
8 return a / b;
11 unsigned int
12 test01 (unsigned int a, unsigned b)
14 return a / b;
17 int
18 main (int argc, char** argv)
20 return test00 (argc, 123) + test01 (argc, 123);