summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/loop-1.c
blob: a2c7fe642092627b0e77a66219346caaa3506e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Copyright (C) 2000  Free Software Foundation.

   Simplified from gcc/fold-const.c
   by Alexandre Oliva  <oliva@lsd.ic.unicamp.br>  */

/* { dg-do compile } */

void
mul_double ()
{
  int i, j, *prod;

  for (i = 0; i < 4; i++)
    {
      for (j = 0; j < 4; j++)
        {
          *prod = 0;
        }
    }
}