From f30a6e048ccadd33c889caaa8012cfabfd5c2da9 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 29 Jul 2025 08:51:00 +0900 Subject: feat: implement bitwise or --- tests/067.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/067.sh (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2