source:
CIVL/examples/languageFeatures/pointerAddBad.cvl@
bb03188
| Last change on this file since bb03188 was ea777aa, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 121 bytes | |
| Rev | Line | |
|---|---|---|
| [d010d61] | 1 | $input double a[10][10][10]; |
| 2 | ||
| [01188a2] | 3 | int main(){ |
| 4 | double * p = &a[0][0][0] + 1000; | |
| 5 | double test; | |
| [d010d61] | 6 | |
| [01188a2] | 7 | test = *p; |
| 8 | return 0; | |
| [d010d61] | 9 | } |
| 10 |
Note:
See TracBrowser
for help on using the repository browser.
