rust/tests/ui/parser/macro/lit-err-in-macro.rs
Josh Triplett 6d64306df1 Move macro tests in parser into macro directory
The `macro` directory contains most of the macro tests, but not all of
them; move the remainder into `macro`.
2025-07-05 16:52:59 -07:00

11 lines
179 B
Rust

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