1 /* Test integer mod on ia64.  There was a bug in the inline integer
2    division code. */
3 
4 /* { dg-do run } */
5 /* { dg-options "-minline-int-divide-max-throughput" { target ia64-*-* } } */
6 
7 extern void abort (void);
8 
9 volatile int i = 10;
10 volatile int j = 10;
11 
main()12 int main()
13 {
14         int k = i % j;
15         if (k != 0) abort();
16 	return 0;
17 }
18