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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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
}