source: CIVL/examples/languageFeatures/bitwise.cvl@ afc300c

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

added test for bitwise operations.

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

  • Property mode set to 100644
File size: 94 bytes
Line 
1void main(){
2int a = 5, b = 6, c;
3
4c = a & b;
5c = a | b;
6c = a ^ b;
7c = a << b;
8c = a >> b;
9}
Note: See TracBrowser for help on using the repository browser.