// Atomic operations take the cell through `ref`. // expect: reject E7005 // phase: 6 // spec: docs/spec/15-source-language.md module demo.without_ref fn main() -> u64 effects [atomic] { let c = atomic.new(1u64); let v = atomic.load(c, seq_cst); let t = atomic.take(move c); v }