about summary refs log tree commit diff
path: root/src/test/compile-fail/unwind-tables-panic-required.rs
blob: 314d9e778d5ae4c5580a30b915d0a78e00e443ee (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.
//
// compile-flags: -C panic=unwind -C force-unwind-tables=no
// ignore-tidy-linelength
//
// error-pattern: panic=unwind requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`.

pub fn main() {
}