From 257b7c45c792ea315bf5e28e821fe0b589c666da Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 30 May 2018 20:03:03 -0400 Subject: [PATCH] add test 2 --- tests/t002.cxl | 13 +++++++++++++ tests/t002.x | 1 + 2 files changed, 14 insertions(+) create mode 100644 tests/t002.cxl create mode 100644 tests/t002.x 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;