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:
12
apps/tests/ny-array-llvm-ret/main.hako
Normal file
12
apps/tests/ny-array-llvm-ret/main.hako
Normal file
@ -0,0 +1,12 @@
|
||||
// ny-array-llvm-ret - LLVM向け: ArrayBoxのpush/get 戻り値を検証
|
||||
// 期待: ランタイム標準出力に "Result: 3" が出る(ny_mainの戻り値)
|
||||
|
||||
static box Main {
|
||||
main() {
|
||||
local a = new ArrayBox()
|
||||
a.push(3)
|
||||
local v = a.get(0)
|
||||
return v
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user