aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/087.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/087.sh')
-rw-r--r--tests/087.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/087.sh b/tests/087.sh
new file mode 100644
index 0000000..e662687
--- /dev/null
+++ b/tests/087.sh
@@ -0,0 +1,24 @@
+set -e
+
+cat <<'EOF' > expected
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+EOF
+
+bash ../../test_diff.sh <<'EOF'
+int printf();
+
+int main() {
+ for (int i = 0; i < 10; i++) {
+ printf("%d\n", i);
+ }
+}
+EOF