Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/torture/pr66280.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 // { dg-do compile } |
2 | |
3 typedef struct | |
4 { | |
5 short re; | |
6 short im; | |
7 } cint16_T; | |
8 typedef struct | |
9 { | |
10 int re; | |
11 int im; | |
12 } cint32_T; | |
13 int a; | |
14 short b; | |
15 cint16_T *c; | |
16 cint32_T *d, *e; | |
17 void | |
18 fn1 () | |
19 { | |
20 for (; a; a++) | |
21 { | |
22 d[a].re = d[a].im = e[a].re = c[a].re * b; | |
23 e[a].im = c[a].im * b; | |
24 } | |
25 } |