]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/threads-sendsync/sendable-class.rs
2 #![allow(unused_must_use)]
4 #![allow(unused_variables)]
5 #![allow(non_camel_case_types)]
7 // Test that a class with only sendable fields can be sent
9 // pretty-expanded FIXME #23616
11 use std
::sync
::mpsc
::channel
;
18 fn foo(i
:isize, j
: char) -> foo
{
26 let (tx
, rx
) = channel();
27 tx
.send(foo(42, 'c'
));