source: CIVL/examples/backend/valueat_seq.cvl@ afc300c

1.23 2.0 main test-branch
Last change on this file since afc300c was 720bb2e, checked in by Manchun Zheng <zmanchun@…>, 10 years ago

added more test for $value_at

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

  • Property mode set to 100644
File size: 101 bytes
Line 
1int main(){
2 int k=1;
3 $state s=$get_state();
4
5 k=2;
6 $assert(k==2 && $value_at(s, -1, k)==1);
7}
Note: See TracBrowser for help on using the repository browser.