aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/025.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/025.sh')
-rw-r--r--tests/025.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/025.sh b/tests/025.sh
new file mode 100644
index 0000000..1f673a1
--- /dev/null
+++ b/tests/025.sh
@@ -0,0 +1,17 @@
+set -e
+
+cat <<'EOF' > expected
+123
+EOF
+bash ../../test_diff.sh <<'EOF'
+int printf();
+
+void foo_bar(int hoge_piyo) {
+ printf("%d\n", hoge_piyo);
+}
+
+int main() {
+ foo_bar(123);
+ return 0;
+}
+EOF