summaryrefslogtreecommitdiffstats
path: root/tests/ui/binop/placement-syntax.rs
blob: 4df96dedbd45be137032e094308cf3c5334ac741 (plain)
1
2
3
4
5
6
fn main() {
    let x = -5;
    if x<-1 { //~ ERROR unexpected token: `<-`
        println!("ok");
    }
}