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

fn main() {}

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