]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-2804-2.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-2804-2.rs
CommitLineData
60c5eb7d 1// check-pass
0bf4aa26 2#![allow(dead_code)]
223e47cc
LB
3// Minimized version of issue-2804.rs. Both check that callee IDs don't
4// clobber the previous node ID in a macro expr
5
1a4d82fc
JJ
6use std::collections::HashMap;
7
c34b1796
AL
8fn add_interfaces(managed_ip: String, device: HashMap<String, isize>) {
9 println!("{}, {}", managed_ip, device["interfaces"]);
223e47cc
LB
10}
11
12pub fn main() {}