From 926b44301aa339b7a204f709959ee44b6ee95902 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 24 Nov 2020 10:00:47 +0100 Subject: Implement Shift Left (WIP) --- systemtest/mcc-execute.tests/exitcodes.exp | 1 + systemtest/mcc-execute.tests/test-shift-left.cpp | 1 + 2 files changed, 2 insertions(+) create mode 100644 systemtest/mcc-execute.tests/test-shift-left.cpp (limited to 'systemtest/mcc-execute.tests') 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; } -- cgit v1.2.3