source:
CIVL/examples/languageFeatures/arrayWriteBad.cvl
| Last change on this file was e37044c, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 167 bytes | |
| Rev | Line | |
|---|---|---|
| [e37044c] | 1 | int main() { |
| 2 | int y[2][]; | |
| 3 | y[0] = (int[2])$lambda(int i) 0; | |
| 4 | y[1] = (int[2])$lambda(int j) 10; | |
| 5 | int i; | |
| 6 | $havoc(&i); | |
| 7 | $assume(0 <= i && i < 2); | |
| 8 | y[i][10] = 5; | |
| 9 | } |
Note:
See TracBrowser
for help on using the repository browser.
