summaryrefslogtreecommitdiffstats
path: root/tests/ui/panics/test-should-fail-bad-message.rs
blob: 701f26776485882649aa50f7b3e02286f2d98070 (plain)
1
2
3
4
5
6
7
8
9
10
// run-fail
// check-stdout
// compile-flags: --test
// ignore-emscripten

#[test]
#[should_panic(expected = "foobar")]
fn test_foo() {
    panic!("blah")
}