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-right.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/systemtest/mcc-execute.tests/exitcodes.exp b/systemtest/mcc-execute.tests/exitcodes.exp
index 1f84444..d4c68f6 100644
--- a/systemtest/mcc-execute.tests/exitcodes.exp
+++ b/systemtest/mcc-execute.tests/exitcodes.exp
@@ -10,4 +10,5 @@ runtest_exit_code "Parentheses Tree" "systemtest/mcc-execute.tests/test-parenthe
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
+runtest_exit_code "Shift Right" "systemtest/mcc-execute.tests/test-shift-right" 2
diff --git a/systemtest/mcc-execute.tests/test-shift-right.cpp b/systemtest/mcc-execute.tests/test-shift-right.cpp
new file mode 100644
index 0000000..5974a22
--- /dev/null
+++ b/systemtest/mcc-execute.tests/test-shift-right.cpp
@@ -0,0 +1,3 @@
+int main() {
+ return 16 >> 3;
+}