]> git.lizzy.rs Git - rust.git/blob - src/test/run-fail/test-panic.rs
Rollup merge of #65595 - Centril:cfgspecs, r=Mark-Simulacrum
[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 }