// run-pass
macro_rules! default {
($($x:tt)*) => { $($x)* }
}
default! {
struct A;
impl A {
fn foo(&self) {}
fn main() {
A.foo();