send.rs 232 B

1234567891011121314
  1. extern crate ralloc;
  2. use std::thread;
  3. #[test]
  4. fn test() {
  5. for _ in 0..0xFFFF {
  6. let bx: Box<u64> = Box::new(0x11FE15C001);
  7. thread::spawn(move || {
  8. assert_eq!(*bx, 0x11FE15C001);
  9. });
  10. }
  11. }