source: CIVL/examples/uint/roundoff.c@ afc300c

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

added tests for unsigned integer operation transformer.

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

  • Property mode set to 100644
File size: 90 bytes
Line 
1int main(){
2 unsigned int t=-2U; // should be translated to (UNSIGNED_MAX+1)-2
3
4 t--;
5}
Note: See TracBrowser for help on using the repository browser.