mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-06 20:27:48 +00:00

Can be fixed properly later by adding a new flag for non-exhaustive line annotation checking
13 lines
338 B
Rust
13 lines
338 B
Rust
// Tests that the compiler errors if the user tries to turn off unwind tables
|
|
// when they are required.
|
|
//
|
|
//@ only-x86_64-pc-windows-msvc
|
|
//@ compile-flags: -C force-unwind-tables=no
|
|
//
|
|
//@ dont-check-compiler-stderr
|
|
|
|
pub fn main() {
|
|
}
|
|
|
|
//~? ERROR target requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`
|