Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

17 lines
199 B
Plaintext

# @TEST-EXEC: ${HILTIC} -j %INPUT >output
module Foo {
import hilti;
function void f(copy bytes x) {
x += b"Bar";
assert x == b"FooBar";
}
global x = b"Foo";
f(x);
assert x == b"Foo";
}