summaryrefslogtreecommitdiffhomepage
path: root/systemtest
diff options
context:
space:
mode:
Diffstat (limited to 'systemtest')
-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; }