Add a test for iter::empty::<*mut i32> being Sync and Send

This commit is contained in:
Konrad Borowski 2019-01-17 00:07:22 +01:00
parent a70b240189
commit d7a18f8986

View File

@ -88,6 +88,7 @@ fn main() {
is_sync_send!((1..)); is_sync_send!((1..));
is_sync_send!(repeat(1)); is_sync_send!(repeat(1));
is_sync_send!(empty::<usize>()); is_sync_send!(empty::<usize>());
is_sync_send!(empty::<*mut i32>());
is_sync_send!(once(1)); is_sync_send!(once(1));
// for option.rs // for option.rs