source: proto/pablo/input/test/expr1.pablo @ 2363

Last change on this file since 2363 was 2363, checked in by ksherdy, 7 years ago

Updated grammar tests.

File size: 341 bytes
Line 
1function void BasicExpressions() {
2
3        temp4 = temp;
4        temp4 = temp1 | temp2;
5        temp4 = temp1 ^ temp2;
6        temp4 = temp1 & temp2;
7        temp4 = temp1 ^ temp2 | temp3;
8        temp4 = temp1 | temp2 ^ temp3;
9        temp4 = temp1 & temp2 | temp3;
10        temp4 = temp1 | temp2 & temp3;
11        temp4 = temp1 & (temp2 | temp3);
12        temp4 = (temp1 | temp2) & temp3;
13        temp4 = ~temp;
14       
15};
16
Note: See TracBrowser for help on using the repository browser.