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