2019-07-15 16:26:45 -05:00
|
|
|
// check-pass
|
|
|
|
// compile-flags: -Zunpretty=expanded,hygiene
|
|
|
|
|
|
|
|
// Don't break whenever Symbol numbering changes
|
|
|
|
// normalize-stdout-test "\d+#" -> "0#"
|
|
|
|
|
2014-08-11 07:01:37 -05:00
|
|
|
// minimal junk
|
2015-07-29 19:01:14 -05:00
|
|
|
#![feature(no_core)]
|
|
|
|
#![no_core]
|
2014-08-11 07:01:37 -05:00
|
|
|
|
|
|
|
macro_rules! foo {
|
|
|
|
($x: ident) => { y + $x }
|
|
|
|
}
|
|
|
|
|
|
|
|
fn bar() {
|
|
|
|
let x = 1;
|
|
|
|
foo!(x)
|
|
|
|
}
|
2016-05-07 23:18:55 -05:00
|
|
|
|
|
|
|
fn y() {}
|