mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 18:04:13 +00:00
11 lines
163 B
Rust
11 lines
163 B
Rust
![]() |
fn main() {
|
||
|
concat!(-42);
|
||
|
concat!(-3.14);
|
||
|
|
||
|
concat!(-"hello");
|
||
|
//~^ ERROR expected a literal
|
||
|
|
||
|
concat!(--1);
|
||
|
//~^ ERROR expected a literal
|
||
|
}
|