mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
11 lines
237 B
Rust
11 lines
237 B
Rust
// Regression test for issue #61033.
|
|
|
|
macro_rules! test1 {
|
|
($x:ident, $($tt:tt)*) => { $($tt)+ } //~ ERROR this must repeat at least once
|
|
}
|
|
|
|
fn main() {
|
|
test1!(x,);
|
|
let _recovery_witness: () = 0; //~ ERROR mismatched types
|
|
}
|