aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/invalid_exponent_in_float_literal-1.zig
blob: 27d302b2ee3e3e89d142462b44b0d53905f6e9bb (plain)
1
2
3
4
5
6
7
8
9
10
11
fn main() void {
    var bad: f128 = 0x1.0p1ab1;
    _ = bad;
}

// error
// backend=stage2
// target=native
//
// :2:21: error: expected expression, found 'invalid bytes'
// :2:28: note: invalid byte: 'a'