rust/src/test/run-pass/issue-2804-2.rs
2012-09-05 12:32:05 -07:00

11 lines
304 B
Rust

// Minimized version of issue-2804.rs. Both check that callee IDs don't
// clobber the previous node ID in a macro expr
use std;
use std::map::hashmap;
fn add_interfaces(managed_ip: ~str, device: std::map::hashmap<~str, int>) {
error!("%s, %?", managed_ip, device[~"interfaces"]);
}
fn main() {}