summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/991202-3.c
blob: f5718b22031ef5c64e79b5d51c68ec7f3b97285e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
unsigned int f (unsigned int a)
{
  return a * 65536 / 8;
}

unsigned int g (unsigned int a)
{
  return a * 65536;
}

unsigned int h (unsigned int a)
{
  return a / 8;
}

int main ()
{
  if (f (65536) != h (g (65536)))
    abort ();
  exit (0);
}