11 lines
311 B
Rust
11 lines
311 B
Rust
// Minimized version of issue-2804.rs. Both check that callee IDs don't
|
|
// clobber the previous node ID in a macro expr
|
|
extern mod 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() {}
|