I tried this code:
#![feature(core_intrinsics)]
use std::intrinsics::r#try;
fn main() {
unsafe {
r#try(
|_a: *mut u8| panic!("foo"),
std::ptr::null_mut(),
|_a: *mut u8, _b: *mut u8| println!("bar"),
);
}
}
using the following command line invocation:
with RMC version: 1.53
I expected to see this happen: It compiled
Instead, this happened: explanation
Crashed with an unimplemented on this construct
I tried this code:
using the following command line invocation:
with RMC version: 1.53
I expected to see this happen: It compiled
Instead, this happened: explanation
Crashed with an unimplemented on this construct