//@ run-pass
//@ needs-unwind
//@ compile-flags: --test
#[test]
#[should_panic(expected = "foo")]
pub fn test_foo() {
panic!("foo bar")
}
pub fn test_foo_dynamic() {
panic!("{} bar", "foo")