summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20030128-1.c
blob: ceca322ccaf51f0e008b7ad4d1508bde1fc77bde (plain)
1
2
3
4
5
6
7
8
9
10
unsigned char x = 50;
volatile short y = -5;

int main ()
{
  x /= y;
  if (x != (unsigned char) -10)
    abort ();
  exit (0);
}