]> git.lizzy.rs Git - rust.git/blob - src/test/ui/threads-sendsync/sync-send-atomics.rs
Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup
[rust.git] / src / test / ui / threads-sendsync / sync-send-atomics.rs
1 // run-pass
2
3 // pretty-expanded FIXME #23616
4
5 use std::sync::atomic::*;
6
7 trait SendSync: Send + Sync {}
8
9 impl SendSync for AtomicBool {}
10 impl SendSync for AtomicIsize {}
11 impl SendSync for AtomicUsize {}
12 impl<T> SendSync for AtomicPtr<T> {}
13
14 fn main() {}