forked from utwente-fmt/vercors
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only rewrite with knowledge up to now
- Loading branch information
Showing
3 changed files
with
111 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package vct.test.integration.features | ||
|
||
import vct.test.integration.helper.VercorsSpec | ||
|
||
class Quantifiers extends VercorsSpec { | ||
|
||
vercors should verify using silicon in "correct order of quantifier rewrite (issue #1215)" c """ | ||
/*@ | ||
requires ant1 != NULL && \pointer_length(ant1) == _n_vis; | ||
requires (\forall* int i; 0<=i && i< \pointer_length(ant1); Perm(&ant1[i], write)); | ||
requires (\forall int _0; 0 <= _0 && _0 < _n_vis; 0 <= ant1[_0]); | ||
requires _n_vis == 230930; | ||
@*/ | ||
int main(int *ant1, int _n_vis) { | ||
} | ||
""" | ||
|
||
} |