summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20050410-1.c
blob: c4cd85279a97b24b958ba92314007c62345e105f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int s = 200;
int __attribute__((noinline))
foo (void)
{
  return (signed char) (s - 100) - 5;
}
int
main (void)
{
  if (foo () != 95)
    abort ();
  exit (0);
}