Move acceptance test 117 to 118

This commit is contained in:
Riley-Kilgore
2025-01-14 05:40:06 -08:00
committed by Riley
parent bd44b22d59
commit 3ee74a5ba8
2 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
name = "aiken-lang/acceptance_test_117"
version = "0.0.0"

View File

@@ -0,0 +1,36 @@
use aiken/builtin.{write_bits}
test bar() {
let x =
if True {
[0, 1, 2, 3]
} else {
[0, 1]
}
write_bits(#"f0", x, True) == #"ff"
}
test baz() {
let x = [0, 1, 2, 3]
write_bits(#"f0", x, True) == #"ff"
}
test bur() {
let x =
if True {
[0, 1, 2, 3]
} else {
[0, 1]
}
if False {
fn(_a, _b, _c) { #"" }
} else {
write_bits
}(
#"f0",
x,
True,
) == #"ff"
}