summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/round.c
blob: 5233e65ea90efbc050c6120e797a248a250e4572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
foo (a)
     double a;
{
  printf ("%d\n", (int) a);
}

main ()
{
  foo (1.6);
  foo (1.4);
  foo (-1.4);
  foo (-1.6);
}