; An atomic cell is not IslandSafe: a frozen graph is deeply immutable (spec 02 ยง6). ; expect: reject E2111 ; phase: 5 ; spec: docs/spec/04-concurrency-and-atomics.md module test.island_content air 0 lang 0.1 features [atomics, capabilities, effects, heap, islands, ownership, resources] fn @main(%heap: cap) -> u64 effects [mem.alloc] entry: %z = const.u64 0 %c = atomic.new %z island.create %c, %heap, ok -> @made, err -> @oom made(%i: island>): island.destroy %i ret %z oom(%e: alloc_error): trap