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