summary refs log tree commit diff
path: root/src/test/ui/issues/issue-23036.rs
blob: a307e7eed959e2f1216269c763741014a9208e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
// ignore-cloudabi no std::path

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"));
}