blob: 1f8cc192c10babf03c972af7084d04966234114e (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Take a look at the license at the top of the repository in the LICENSE file.
#[test]
fn test_send_sync() {
fn is_send<T: Send>() {}
fn is_sync<T: Sync>() {}
is_send::<sysinfo::System>();
is_sync::<sysinfo::System>();
}
|