2019-11-04 00:00:00 +00:00
|
|
|
//@ check-pass
|
2018-09-25 21:51:35 +00:00
|
|
|
#![allow(dead_code)]
|
2012-07-11 21:31:35 +00:00
|
|
|
// Minimized version of issue-2804.rs. Both check that callee IDs don't
|
|
|
|
// clobber the previous node ID in a macro expr
|
|
|
|
|
2014-05-30 02:03:06 +00:00
|
|
|
use std::collections::HashMap;
|
2013-03-24 01:22:00 +00:00
|
|
|
|
2015-03-26 00:06:52 +00:00
|
|
|
fn add_interfaces(managed_ip: String, device: HashMap<String, isize>) {
|
2015-03-22 01:15:47 +00:00
|
|
|
println!("{}, {}", managed_ip, device["interfaces"]);
|
2012-07-11 21:31:35 +00:00
|
|
|
}
|
|
|
|
|
2013-02-02 03:43:17 +00:00
|
|
|
pub fn main() {}
|