]> git.lizzy.rs Git - rust.git/blob - src/test/run-fail/test-panic.rs
Rollup merge of #65691 - GuillaumeGomez:2018-edition-E0659, r=Dylan-DPC
[rust.git] / src / test / run-fail / test-panic.rs
1 // check-stdout
2 // error-pattern:thread 'test_foo' panicked at
3 // compile-flags: --test
4 // ignore-emscripten
5
6 #[test]
7 fn test_foo() {
8     panic!()
9 }