summary refs log tree commit diff
path: root/src/test/run-pass/die-macro.rs
blob: 59d297473fe94a7c02e40017c08e2071e5868e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Just testing that die!() type checks in statement or expr

fn f() {
    die!();

    let x: int = die!();
}

fn main() {

}