; Atomic operations take ref>, never mut (spec 04 ยง23). ; expect: reject E1001 ; phase: 5 ; spec: docs/spec/04-concurrency-and-atomics.md module test.mut_operand air 0 lang 0.1 features [atomics, effects, ownership] fn @peek(%c: mut>) -> u64 effects [atomic] entry: %x = atomic.load.seq_cst %c %k = const.u64 0 ret %k fn @main() -> u64 effects [] entry: %k = const.u64 0 ret %k