about summary refs log tree commit diff
path: root/tests/ui/panic-runtime/need-unwind-got-abort.rs
blob: bc65e9ab3d9e6d97ffb077c3b720ed106fff1820 (plain)
1
2
3
4
5
6
7
8
9
10
//@ build-fail
//@ aux-build:needs-unwind.rs
//@ compile-flags:-C panic=abort
//@ no-prefer-dynamic

extern crate needs_unwind;

fn main() {}

//~? ERROR the crate `needs_unwind` requires panic strategy `unwind` which is incompatible with this crate's strategy of `abort`