mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 10:19:00 +00:00
14 lines
225 B
Rust
14 lines
225 B
Rust
//@ check-pass
|
|
|
|
|
|
use std::sync::atomic::*;
|
|
|
|
trait SendSync: Send + Sync {}
|
|
|
|
impl SendSync for AtomicBool {}
|
|
impl SendSync for AtomicIsize {}
|
|
impl SendSync for AtomicUsize {}
|
|
impl<T> SendSync for AtomicPtr<T> {}
|
|
|
|
fn main() {}
|