]> git.proxmox.com Git - rustc.git/blame - src/test/ui/hygiene/unpretty-debug.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / hygiene / unpretty-debug.rs
CommitLineData
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
11macro_rules! foo {
12 ($x: ident) => { y + $x }
223e47cc
LB
13}
14
1a4d82fc
JJ
15fn bar() {
16 let x = 1;
17 foo!(x)
223e47cc 18}
a7813a04
XL
19
20fn y() {}