Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/BUG21.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 typedef struct { |
2 int knock_on_wood; /* leave it out and it works. */ | |
3 int f1; | |
4 } FOO; | |
5 | |
6 typedef struct { | |
7 FOO *b1; | |
8 } BAR; | |
9 | |
10 Nase () | |
11 { | |
12 int i, j; | |
13 FOO *foop; | |
14 BAR *barp; | |
15 | |
16 for (i = 0; i < 2; i++) { | |
17 foop = &barp->b1[i]; | |
18 for (j = 0; j < foop->f1; j++) { | |
19 /* dummy() */; /* put it in and it works. */ | |
20 } | |
21 } | |
22 } |