// atomic.load.seq_cst lacks atomic; atomic.new and atomic.take require no effect. // expect: reject E3101 // phase: 6 // spec: docs/spec/05-effects-and-capabilities.md ยง13 // AIR twin: phase5/reject/missing_atomic_effect.air module test.source_missing_atomic_effect fn main() -> u64 effects [] { let c = atomic.new(0u64); let x = atomic.load(ref c, seq_cst); // diagnostic here: atomic.load let v = atomic.take(move c); 0 }