add test 2

This commit is contained in:
Josh Holtrop 2018-05-30 20:03:03 -04:00
parent fa45ae1f9d
commit 257b7c45c7
2 changed files with 14 additions and 0 deletions

13
tests/t002.cxl Normal file
View File

@ -0,0 +1,13 @@
#include <stdio.h>
int main(int argc, char * argv[])
{
printf("%d;", 4 + 7 * 3);
printf("%d;", 4 * 7 + 2);
printf("%d;", 3 + 1 << 4);
printf("%d;", 6 - 4 >> 1);
printf("%d;", 3 | 7);
printf("%d;", 7 ^ 1 ^ 2);
printf("%d;", 7 & 255);
printf("\n");
}

1
tests/t002.x Normal file
View File

@ -0,0 +1 @@
25;30;64;1;7;4;7;