mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-01 17:04:13 +00:00
12 lines
231 B
Rust
12 lines
231 B
Rust
// https://github.com/rust-lang/rust/issues/7970
|
|
macro_rules! one_arg_macro {
|
|
($fmt:expr) => {
|
|
print!(concat!($fmt, "\n"))
|
|
};
|
|
}
|
|
|
|
fn main() {
|
|
one_arg_macro!();
|
|
//~^ ERROR unexpected end of macro invocation
|
|
}
|