; atomic holds bool or an integer of at most 64 bits (spec 04 ยง23). ; expect: reject E1001 ; phase: 5 ; spec: docs/spec/04-concurrency-and-atomics.md module test.u128_cell air 0 lang 0.1 features [atomics, effects, ownership] fn @main() -> u64 effects [atomic] entry: %z = const.u128 0 %c = atomic.new %z %r = borrow.ref %c %x = atomic.load.seq_cst %r borrow.end %r %v = atomic.take %c %k = const.u64 0 ret %k