ww: finish initialization validation parity

This commit is contained in:
2026-08-14 20:03:11 +09:00
parent 25da54936d
commit c59a7c11de
26 changed files with 528 additions and 143 deletions

View File

@@ -1,6 +1,5 @@
//ww:error "runtime initializer unsupported (alloc/call; rule 7)"
// The call sibling of alias_infptr_global's alloc reject: a
// module-scope call initializer has no link-time data either.
//ww:run-exit 7
// A module-scope call initializer executes once in the package task.
package main;
fn mk() i64 = { return 7; };
let gc: i64 = mk();