source: CIVL/examples/languageFeatures/forall4.cvl

main
Last change on this file was 4f61660, checked in by Alex Wilton <awilton@…>, 3 months ago

Added unit test for example that used to demonstrate a simplification bug

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@6001 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 176 bytes
Line 
1$input int n;
2$assume(n>=1);
3$input int a[n], b[n];
4int main() {
5 $assume($forall (int j: 0..n-1) a[j] == 0 && b[j] == a[j]);
6 $assert($forall (int j: 0..n-1) b[j]==a[j]);
7}
Note: See TracBrowser for help on using the repository browser.