about summary refs log tree commit diff
path: root/tests/ui/panic-runtime/bad-panic-flag1.rs
blob: 117935847cbd7688a0023715311a7bb3ba7297d1 (plain)
1
2
3
4
5
//@ compile-flags:-C panic=foo

fn main() {}

//~? ERROR incorrect value `foo` for codegen option `panic` - either `unwind` or `abort` was expected