phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
15
examples/llvm11_array_smoke.hako
Normal file
15
examples/llvm11_array_smoke.hako
Normal file
@ -0,0 +1,15 @@
|
||||
// LLVM 11.2 minimal smoke: ArrayBox new/set/get and console.log
|
||||
|
||||
static box Main {
|
||||
main() {
|
||||
console.log("LLVM 11.2 smoke start")
|
||||
|
||||
local arr, x
|
||||
arr = new ArrayBox()
|
||||
arr.set(0, 42)
|
||||
x = arr.get(0)
|
||||
|
||||
console.log("OK")
|
||||
return 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user