mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00

The `macro` directory contains most of the macro tests, but not all of them; move the remainder into `macro`.
11 lines
179 B
Rust
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() {}
|