blob: 8e05d60e2184a6eaaa19144f36f0b9f93134c296 [file] [log] [blame] [edit]
//@ check-pass
//@ compile-flags: -Zunpretty=expanded,hygiene
// Don't break whenever Symbol numbering changes
//@ normalize-stdout-test: "\d+#" -> "0#"
// minimal junk
#![feature(no_core)]
#![no_core]
macro_rules! foo {
($x: ident) => { y + $x }
}
fn bar() {
let x = 1;
foo!(x)
}
fn y() {}