aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/005.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/005.sh')
-rw-r--r--tests/005.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/005.sh b/tests/005.sh
new file mode 100644
index 0000000..1b4611a
--- /dev/null
+++ b/tests/005.sh
@@ -0,0 +1,7 @@
+set -e
+
+bash ../../test_exit_code.sh 30 <<'EOF'
+int main() {
+ return (-10 + 20 * -3) + 100;
+}
+EOF