diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-07-29 08:51:00 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-15 10:04:36 +0900 |
| commit | f30a6e048ccadd33c889caaa8012cfabfd5c2da9 (patch) | |
| tree | d64763931b2013024feb8505785840d47c51a03f /tests | |
| parent | bfd0e04870c7cc55e8c2a9ee5e7b3e39fc9286c2 (diff) | |
| download | ducc-f30a6e048ccadd33c889caaa8012cfabfd5c2da9.tar.gz ducc-f30a6e048ccadd33c889caaa8012cfabfd5c2da9.tar.zst ducc-f30a6e048ccadd33c889caaa8012cfabfd5c2da9.zip | |
feat: implement bitwise or
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/067.sh | 15 |
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 |
