]> git.proxmox.com Git - rustc.git/blame - src/test/ui/intrinsics/intrinsic-atomics-cc.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / intrinsics / intrinsic-atomics-cc.rs
CommitLineData
b7449926 1// run-pass
223e47cc
LB
2// aux-build:cci_intrinsic.rs
3
c34b1796 4
1a4d82fc 5extern crate cci_intrinsic;
064997fb 6use cci_intrinsic::atomic_xchg_seqcst;
223e47cc
LB
7
8pub fn main() {
1a4d82fc 9 let mut x = 1;
064997fb 10 atomic_xchg_seqcst(&mut x, 5);
1a4d82fc 11 assert_eq!(x, 5);
223e47cc 12}