rust/tests/compile-fail/backtrace/bad-backtrace-size-flags.rs
2022-03-19 18:14:11 -07:00

10 lines
205 B
Rust

extern "Rust" {
fn miri_backtrace_size(flags: u64) -> usize;
}
fn main() {
unsafe {
miri_backtrace_size(2); //~ ERROR unsupported operation: unknown `miri_backtrace_size` flags 2
}
}