rust/src/test/run-pass/issue-2804-2.rs
2012-08-23 11:14:14 -07:00

11 lines
307 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;
import std::map::hashmap;
fn add_interfaces(managed_ip: ~str, device: std::map::hashmap<~str, int>) {
error!("%s, %?", managed_ip, device[~"interfaces"]);
}
fn main() {}