view gcc/testsuite/gcc.c-torture/compile/shft.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

foo (a)
     int a;
{
  int b = 8;

  if ((a << b) >= 0)
    return 1;
  return a;
}

main ()
{
  if (foo (0x00ffffff) == 1)
    puts ("y");
}