]> git.lizzy.rs Git - rust.git/blob - src/test/compile-fail/unwind-tables-panic-required.rs
Auto merge of #74060 - kpp:remove_length_at_most_32, r=dtolnay
[rust.git] / src / test / compile-fail / unwind-tables-panic-required.rs
1 // Tests that the compiler errors if the user tries to turn off unwind tables
2 // when they are required.
3 //
4 // compile-flags: -C panic=unwind -C force-unwind-tables=no
5 // ignore-tidy-linelength
6 //
7 // error-pattern: panic=unwind requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`.
8
9 pub fn main() {
10 }