source: CIVL/examples/languageFeatures/int2float.cvl@ a0b7ab5

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

fixed a bug that fails to translate the implicit conversion of a function call.

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

  • Property mode set to 100644
File size: 78 bytes
Line 
1#include<stdlib.h>
2
3void main(){
4 float x =rand()/(float)RAND_MAX;
5
6 x++;
7}
Note: See TracBrowser for help on using the repository browser.