source:
CIVL/examples/sideEffects/structWithDiv.cvl
| Last change on this file was ea777aa, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 120 bytes | |
| Rev | Line | |
|---|---|---|
| [24af274] | 1 | struct A; |
| 2 | ||
| [2e10bc7] | 3 | const int k=9; |
| 4 | ||
| [24af274] | 5 | struct A{ |
| [2e10bc7] | 6 | int a[32/k]; |
| [24af274] | 7 | }; |
| 8 | ||
| 9 | int main(){ | |
| 10 | struct A b; | |
| 11 | b.a[0] = 0; | |
| 12 | return b.a[0]; | |
| 13 | } | |
| 14 |
Note:
See TracBrowser
for help on using the repository browser.
