rust/tests/ui/parser/lit-err-in-macro.rs
2023-06-15 01:55:37 +00:00

11 lines
158 B
Rust

macro_rules! f {
($abi:literal) => {
extern $abi fn f() {}
}
}
f!("Foo"__);
//~^ ERROR suffixes on string literals are invalid
fn main() {}