]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/test-allow-fail-attr.rs
Rollup merge of #60685 - dtolnay:spdx, r=nikomatsakis
[rust.git] / src / test / run-pass / test-allow-fail-attr.rs
1 // ignore-wasm32-bare compiled with panic=abort by default
2 // compile-flags: --test
3 #![feature(allow_fail)]
4
5 #[test]
6 #[allow_fail]
7 fn test1() {
8     panic!();
9 }
10
11 #[test]
12 #[allow_fail]
13 fn test2() {
14     assert!(true);
15 }