]>
git.proxmox.com Git - rustc.git/blob - tests/run-make-fulldeps/static-unwinding/main.rs
5 static mut statik
: isize = 0;
10 unsafe { statik = 1; }
15 thread
::spawn(move|| {
17 lib
::callback(|| panic
!());
18 }).join().unwrap_err();
21 assert_eq
!(lib
::statik
, 1);
22 assert_eq
!(statik
, 1);