rust/tests/ui/macros/issue-104769-concat_bytes-invalid-literal.rs

9 lines
221 B
Rust
Raw Normal View History

#![feature(concat_bytes)]
fn main() {
concat_bytes!(7Y);
//~^ ERROR invalid suffix `Y` for number literal
concat_bytes!(888888888888888888888888888888888888888);
//~^ ERROR integer literal is too large
}