summaryrefslogtreecommitdiffstats
path: root/tests/run-make/libtest-json/f.rs
blob: edfe25086ae9a83e5f07145ffdd27bb59e8e6331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#[test]
fn a() {
    println!("print from successful test");
    // Should pass
}

#[test]
fn b() {
    assert!(false);
}

#[test]
#[should_panic]
fn c() {
    assert!(false);
}

#[test]
#[ignore = "msg"]
fn d() {
    assert!(false);
}