]> git.proxmox.com Git - rustc.git/blame - src/test/ui/hygiene/lambda-var-hygiene.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / hygiene / lambda-var-hygiene.rs
CommitLineData
416331ca 1// run-pass
1a4d82fc
JJ
2// shouldn't affect evaluation of $ex:
3macro_rules! bad_macro {
4 ($ex:expr) => ({(|_x| { $ex }) (9) })
223e47cc
LB
5}
6
c34b1796 7fn takes_x(_x : isize) {
1a4d82fc 8 assert_eq!(bad_macro!(_x),8);
223e47cc 9}
223e47cc 10fn main() {
1a4d82fc 11 takes_x(8);
223e47cc 12}