Skip to content

Commit 313c628

Browse files
Add a test for iter::empty::<*mut i32> being Sync and Send
1 parent e19fc28 commit 313c628

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/run-pass/threads-sendsync/sync-send-iterators-in-libcore.rs

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ fn main() {
9191
is_sync_send!((1..));
9292
is_sync_send!(repeat(1));
9393
is_sync_send!(empty::<usize>());
94+
is_sync_send!(empty::<*mut i32>());
9495
is_sync_send!(once(1));
9596

9697
// for option.rs

0 commit comments

Comments
 (0)