Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/divconst-3.c

raw
1 void abort (void);
2 void exit (int);
3
4 long long
5 f (long long x)
6 {
7 return x / 10000000000LL;
8 }
9
10 int
11 main (void)
12 {
13 if (f (10000000000LL) != 1 || f (100000000000LL) != 10)
14 abort ();
15 exit (0);
16 }