source: CIVL/examples/languageFeatures/runStatement.cvl@ 64f7cb1

1.23 2.0 main test-branch
Last change on this file since 64f7cb1 was 9372523, checked in by Ziqing Luo <ziqing@…>, 10 years ago

implemented runStatements

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

  • Property mode set to 100644
File size: 156 bytes
Line 
1#include <civlc.cvh>
2
3int main() {
4 int x = 0;
5 int y = 0;
6
7 $run {
8 while( x < 3 ){}
9 $assert(x == 3);
10 }
11 for(int y = 0; x < 3; x++) y++;
12}
Note: See TracBrowser for help on using the repository browser.