ww: finish initialization validation parity
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user