diff options
Diffstat (limited to 'tests/ui/panic-runtime/want-abort-got-unwind.rs')
-rw-r--r-- | tests/ui/panic-runtime/want-abort-got-unwind.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/panic-runtime/want-abort-got-unwind.rs b/tests/ui/panic-runtime/want-abort-got-unwind.rs new file mode 100644 index 000000000..e33c3bcc3 --- /dev/null +++ b/tests/ui/panic-runtime/want-abort-got-unwind.rs @@ -0,0 +1,9 @@ +// build-fail +// dont-check-compiler-stderr +// error-pattern:is not compiled with this crate's panic strategy `abort` +// aux-build:panic-runtime-unwind.rs +// compile-flags:-C panic=abort + +extern crate panic_runtime_unwind; + +fn main() {} |