summary refs log tree commit diff
path: root/src/test/ui/test-allow-fail-attr.rs
blob: 1a478460efc6c8954c6714450b848652cd700a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// run-pass
// 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);
}