; A non-seq_cst access needs atomic.weak besides atomic (spec 04 ยง25). ; expect: reject E3101 ; phase: 5 ; spec: docs/spec/04-concurrency-and-atomics.md module test.missing_weak_effect air 0 lang 0.1 features [atomics, effects, ownership] fn @main() -> u64 effects [atomic] entry: %z = const.u64 0 %c = atomic.new %z %r = borrow.ref %c %x = atomic.load.acquire %r borrow.end %r %v = atomic.take %c %k = const.u64 0 ret %k