summaryrefslogtreecommitdiffhomepage
path: root/systemtest/mcc-execute.tests
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-24 10:00:47 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-24 10:00:47 +0100
commit926b44301aa339b7a204f709959ee44b6ee95902 (patch)
tree7332570f3d6b553887f144a91e62e21dfa22a4af /systemtest/mcc-execute.tests
parent61db05a4127790da3219fccce87c34aa890d1d08 (diff)
Implement Shift Left (WIP)
Diffstat (limited to 'systemtest/mcc-execute.tests')
-rw-r--r--systemtest/mcc-execute.tests/exitcodes.exp1
-rw-r--r--systemtest/mcc-execute.tests/test-shift-left.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/systemtest/mcc-execute.tests/exitcodes.exp b/systemtest/mcc-execute.tests/exitcodes.exp
index fcd70ec..1f84444 100644
--- a/systemtest/mcc-execute.tests/exitcodes.exp
+++ b/systemtest/mcc-execute.tests/exitcodes.exp
@@ -9,4 +9,5 @@ runtest_exit_code "Modulo" "systemtest/mcc-execute.tests/test-modulo" 1
runtest_exit_code "Parentheses Tree" "systemtest/mcc-execute.tests/test-parentheses" 36
runtest_exit_code "Parentheses Left" "systemtest/mcc-execute.tests/test-parentheses-left" 36
runtest_exit_code "Parentheses Right" "systemtest/mcc-execute.tests/test-parentheses-right" 36
+runtest_exit_code "Shift Left" "systemtest/mcc-execute.tests/test-shift-left" 12
diff --git a/systemtest/mcc-execute.tests/test-shift-left.cpp b/systemtest/mcc-execute.tests/test-shift-left.cpp
new file mode 100644
index 0000000..410ab2b
--- /dev/null
+++ b/systemtest/mcc-execute.tests/test-shift-left.cpp
@@ -0,0 +1 @@
+int main() { return 3 << 2; }