rust/tests/ui/parser/lit-err-in-macro.rs

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() {}