source: CIVL/examples/specialStatements/choose_bad1.cvl@ 758e379

1.23 2.0 main test-branch
Last change on this file since 758e379 was f654c25, checked in by Manchun Zheng <zmanchun@…>, 11 years ago

cleaned up the translation of $choose and $when; added examples and tests accordinly.

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

  • Property mode set to 100644
File size: 106 bytes
Line 
1#include<civlc.cvh>
2
3int main(){
4 int *ptr;
5
6 $choose{
7 ptr=(int*)$malloc($here, sizeof(int));
8 }
9}
Note: See TracBrowser for help on using the repository browser.