aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/signext2.c
blob: 9826b75e9eff6b40f14bfb6103267cc528b61e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-additional-options "-std=gnu89" } */

long long
foo (a)
     int a;
{
  return a;
}

main ()
{
  printf ("%d\n", (int) (foo (-1) >> 32));
}