1 // Tests that the compiler errors if the user tries to turn off unwind tables
2 // when they are required.
4 // compile-flags: -C panic=unwind -C force-unwind-tables=no
5 // ignore-tidy-linelength
7 // error-pattern: panic=unwind requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`.