rust/tests/ui/lexer/lex-bad-octal-literal.rs
2023-01-11 09:32:08 +00:00

5 lines
134 B
Rust

fn main() {
0o18; //~ ERROR invalid digit for a base 8 literal
0o1234_9_5670; //~ ERROR invalid digit for a base 8 literal
}