summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/invalid-const-in-body.rs
blob: f0fa3bb7bd13622ce111a12d1705c851decc96b3 (plain)
1
2
3
4
5
6
fn f() -> impl Sized {
    2.0E
    //~^ ERROR expected at least one digit in exponent
}

fn main() {}