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

10 lines
205 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
}
}