source:
CIVL/mods/dev.civl.com/examples/sideEffects/errSideEffectsInQuantified.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 152 bytes | |
| Rev | Line | |
|---|---|---|
| [eeed32c] | 1 | $input int a[10]; |
| 2 | $assume($forall (int i : 0 .. 9) a[i] == 0); | |
| 3 | ||
| 4 | int main() { | |
| 5 | int * x = (void *)0; | |
| 6 | ||
| 7 | $assert($forall (int i : 0 .. 10) a[i] == *x); | |
| 8 | } |
Note:
See TracBrowser
for help on using the repository browser.
