test: Phase 122 if-only Normalized emit smoke
Phase 122 P4: Fixtures and smoke tests - New fixture: phase122_if_only_normalized_emit_min.hako - Smoke test: phase122_if_only_normalized_emit_vm.sh - Verifies: module emission + structure verification in dev+strict mode - Regression check: phase103 fixture still passes - All tests PASS
This commit is contained in:
19
apps/tests/phase122_if_only_normalized_emit_min.hako
Normal file
19
apps/tests/phase122_if_only_normalized_emit_min.hako
Normal file
@ -0,0 +1,19 @@
|
||||
// Phase 122: if-only Normalized JoinModule emission (dev-only)
|
||||
// Goal: Minimal if-only pattern to test Normalized emission
|
||||
// Expected: flag=0 → return 1, flag=1 → return 2
|
||||
|
||||
static box Main {
|
||||
main() {
|
||||
local flag = 0
|
||||
local result
|
||||
|
||||
if flag == 0 {
|
||||
result = 1
|
||||
} else {
|
||||
result = 2
|
||||
}
|
||||
|
||||
print(result)
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user