2012-07-11 14:31:35 -07:00
|
|
|
// 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;
|
|
|
|
|
2012-07-13 22:57:48 -07:00
|
|
|
fn add_interfaces(managed_ip: ~str, device: std::map::hashmap<~str, int>) {
|
2012-07-30 16:01:07 -07:00
|
|
|
error!{"%s, %?", managed_ip, device[~"interfaces"]};
|
2012-07-11 14:31:35 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|