blob: 0551ba7ea8ee9720a397b07188ab03b369d60c8e [file] [log] [blame] [edit]
//! regression test for <https://github.com/rust-lang/rust/issues/23036>
//@ run-pass
use std::collections::HashMap;
use std::path::Path;
fn main() {
let mut map = HashMap::new();
map.insert(Path::new("a"), 0);
map.get(Path::new("a"));
}