mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
17 lines
246 B
Rust
17 lines
246 B
Rust
// run-pass
|
|
// pretty-expanded FIXME #23616
|
|
#![allow(non_camel_case_types)]
|
|
|
|
macro_rules! define_vec {
|
|
() => (
|
|
mod foo {
|
|
#[derive(PartialEq)]
|
|
pub struct bar;
|
|
}
|
|
)
|
|
}
|
|
|
|
define_vec![];
|
|
|
|
pub fn main() {}
|