blob: 0c3c2a42488520cdcd294370e7541aa9fbbec6bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// ignore-wasm32-bare compiled with panic=abort by default
// compile-flags: --test
#![feature(allow_fail)]
#[test]
#[allow_fail]
fn test1() {
panic!();
}
#[test]
#[allow_fail]
fn test2() {
assert!(true);
}
|