diff options
Diffstat (limited to 'tests/ui/macros/issue-104769-concat_bytes-invalid-literal.rs')
-rw-r--r-- | tests/ui/macros/issue-104769-concat_bytes-invalid-literal.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/macros/issue-104769-concat_bytes-invalid-literal.rs b/tests/ui/macros/issue-104769-concat_bytes-invalid-literal.rs new file mode 100644 index 000000000..24150376e --- /dev/null +++ b/tests/ui/macros/issue-104769-concat_bytes-invalid-literal.rs @@ -0,0 +1,8 @@ +#![feature(concat_bytes)] + +fn main() { + concat_bytes!(7Y); + //~^ ERROR invalid suffix `Y` for number literal + concat_bytes!(888888888888888888888888888888888888888); + //~^ ERROR integer literal is too large +} |