Files
hakorune/local_tests/test_mir_wasm_minimal.hako

17 lines
415 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 🧪 MIR → WASM変換テスト最小版
// メソッド呼び出しを避けて基本演算のみテスト
static box Main {
init { result }
main() {
// 基本演算のみ(メソッド呼び出しなし)
local a = 10
local b = 20
local sum = a + b
local product = sum * 3
me.result = product
return "計算完了"
}
}