summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr34070-1.c
blob: 6589bb0c0958c81a3e1523a1a508d12cf9c84576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
extern void abort (void);

int f(unsigned int x)
{
    return ((int)x) % 4;
}

int main()
{
  if (f(-1) != -1)
    abort ();
  return 0;
}