blob: 856184fbc83520ac1b24997f0188b7d40f1dd146 [file] [log] [blame]
// run-pass
// ignore-pretty pretty-printing is unhygienic
#![feature(decl_macro)]
#![allow(unused)]
macro m($S:ident, $x:ident) {
$S { $x: 0 }
}
mod foo {
struct S { x: i32 }
fn f() { ::m!(S, x); }
}
fn main() {}