summaryrefslogtreecommitdiffstats
path: root/tests/ui/panic-runtime/unwind-tables-target-required.rs
blob: 3abb52b675a60ba1dbb33f1900d5e47cc79a4886 (plain)
1
2
3
4
5
6
7
8
9
10
// Tests that the compiler errors if the user tries to turn off unwind tables
// when they are required.
//
// only-x86_64-windows-msvc
// compile-flags: -C force-unwind-tables=no
//
// error-pattern: target requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`.

pub fn main() {
}