aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/ok/0028_operator_binding_power.rs
blob: cc9598470d84c05db8416592088e75174609b955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn binding_power() {
    let x = 1 + 2 * 3 % 4 - 5 / 6;
    1 + 2 * 3;
    1 << 2 + 3;
    1 & 2 >> 3;
    1 ^ 2 & 3;
    1 | 2 ^ 3;
    1 == 2 | 3;
    1 && 2 == 3;
    //1 || 2 && 2;
    //1 .. 2 || 3;
    //1 = 2 .. 3;
    //---&*1 - --2 * 9;
}