summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20010222-1.c
blob: c3a2b18e5f02fe595a053f2dfbdbacb76288ca0f (plain)
1
2
3
4
5
6
7
8
9
int a[2] = { 18, 6 };

int main ()
{
  int b = (-3 * a[0] -3 * a[1]) / 12;
  if (b != -6)
    abort ();
  exit (0);
}