rust/tests/ui/macros/issue-54441.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
154 B
Rust
Raw Normal View History

macro_rules! m {
() => {
let //~ ERROR macro expansion ignores token `let` and any following
};
}
extern "C" {
m!();
}
fn main() {}