diff --git a/tests/t002.cxl b/tests/t002.cxl new file mode 100644 index 0000000..9e3e8da --- /dev/null +++ b/tests/t002.cxl @@ -0,0 +1,13 @@ +#include + +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"); +} diff --git a/tests/t002.x b/tests/t002.x new file mode 100644 index 0000000..559f13f --- /dev/null +++ b/tests/t002.x @@ -0,0 +1 @@ +25;30;64;1;7;4;7;