rust/src/test/run-pass/issue-1696.rs
2012-09-19 15:51:44 -07:00

10 lines
175 B
Rust

extern mod std;
use std::map;
use std::map::HashMap;
fn main() {
let m = map::HashMap();
m.insert(str::to_bytes(~"foo"), str::to_bytes(~"bar"));
log(error, m);
}