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