about summary refs log tree commit diff
path: root/src/test/ui/parser/no-binary-float-literal.rs
blob: a42d2cbc442f0c89b6bed838cd662825cc84ddbc (plain)
1
2
3
4
5
6
7
8
fn main() {
    0b101010f64;
    //~^ ERROR binary float literal is not supported
    0b101.010;
    //~^ ERROR binary float literal is not supported
    0b101p4f64;
    //~^ ERROR invalid suffix `p4f64` for numeric literal
}