rust/tests/fail/backtrace/bad-backtrace-size-flags.rs

10 lines
206 B
Rust
Raw Normal View History

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
}
}