]>
Commit | Line | Data |
---|---|---|
416331ca XL |
1 | // check-pass |
2 | // compile-flags: -Zunpretty=expanded,hygiene | |
3 | ||
4 | // Don't break whenever Symbol numbering changes | |
5 | // normalize-stdout-test "\d+#" -> "0#" | |
6 | ||
1a4d82fc | 7 | // minimal junk |
e9174d1e SL |
8 | #![feature(no_core)] |
9 | #![no_core] | |
223e47cc | 10 | |
1a4d82fc JJ |
11 | macro_rules! foo { |
12 | ($x: ident) => { y + $x } | |
223e47cc LB |
13 | } |
14 | ||
1a4d82fc JJ |
15 | fn bar() { |
16 | let x = 1; | |
17 | foo!(x) | |
223e47cc | 18 | } |
a7813a04 XL |
19 | |
20 | fn y() {} |