diff options
Diffstat (limited to 'tests/031.sh')
| -rw-r--r-- | tests/031.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/031.sh b/tests/031.sh new file mode 100644 index 0000000..7747f84 --- /dev/null +++ b/tests/031.sh @@ -0,0 +1,14 @@ +set -e + +cat <<'EOF' > expected +42 +EOF +bash ../../test_diff.sh <<'EOF' +int printf(); + +int main() { + int a = 42; + printf("%d\n", a); + return 0; +} +EOF |
