aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/091.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/091.sh b/tests/091.sh
new file mode 100644
index 0000000..9281811
--- /dev/null
+++ b/tests/091.sh
@@ -0,0 +1,13 @@
+set -e
+
+cat <<'EOF' > expected
+2 5
+EOF
+
+bash ../../test_diff.sh <<'EOF'
+int printf();
+
+int main() {
+ printf("%d %d\n", 1 ? 2 : 3, 0 ? 4 : 5);
+}
+EOF