summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/underscore-suffix-for-float.rs
blob: c9b7eced0b2a069b2479dd040a1d9fdd22bbd881 (plain)
1
2
3
4
fn main() {
    let a = 42._; //~ ERROR expected identifier, found reserved identifier `_`
                  //~| ERROR `{integer}` is a primitive type and therefore doesn't have fields
}