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

#[test]
#[should_panic(expected = "foo")]
pub fn test_explicit() {
    panic!()
}