summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/921218-1.c
blob: ab7bc19cc154e461e5485232feddc6944f87a865 (plain)
1
2
3
4
5
6
7
8
9
10
11
f()
{
  return (unsigned char)("\377"[0]);
}

main()
{
  if (f() != (unsigned char)(0377))
    abort();
  exit (0);
}