rust/tests/ui/macros/semi-after-macro-ty.rs

9 lines
98 B
Rust

//@ run-pass
macro_rules! foo {
($t:ty; $p:path;) => {}
}
fn main() {
foo!(i32; i32;);
}