about summary refs log tree commit diff
path: root/src/test/compile-fail/or-init.rs
blob: 8103864c154c9b804b4ad878b5f0a2ddac3c0353 (plain)
1
2
3
4
5
6
7
8
// error-pattern: Unsatisfied precondition constraint (for example, init(i

fn main() {
    let i: int;

    log false || { i = 5; true };
    log i;
}