Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/loop-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Copyright (C) 2000 Free Software Foundation. | |
2 | |
3 Simplified from gcc/fold-const.c | |
4 by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */ | |
5 | |
6 /* { dg-do compile } */ | |
7 | |
8 void | |
9 mul_double () | |
10 { | |
11 int i, j, *prod; | |
12 | |
13 for (i = 0; i < 4; i++) | |
14 { | |
15 for (j = 0; j < 4; j++) | |
16 { | |
17 *prod = 0; | |
18 } | |
19 } | |
20 } |