; In the deterministic profile a mem.alloc grant must carry a byte limit. ; expect: run ; grant: heap=mem.alloc ; not_instantiated: invalid_scope ; phase: 2 ; spec: docs/spec/03-memory-model.md module test.budget_mandatory air 0 lang 0.1 features [capabilities, effects, heap, ownership, resources] fn @main(%heap: cap) -> u8 effects [] entry: %z = const.u8 0 ret %z