Files
hakorune/examples/llvm11_core_smoke.hako

15 lines
202 B
Plaintext

// LLVM 11.2 minimal smoke: core ops only (Const/BinOp/Compare/Branch/Return)
static box Main {
main() {
local x, y
x = 1
y = 2
if (x < y) {
x = x + y
}
return x
}
}