summary refs log tree commit diff
path: root/src/test/ui/issues/issue-23036.rs
blob: ac24648e49e915fda9e1e08a72cb55744c1c3155 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
// ignore-wasm32-bare FIXME(#93923) llvm miscompilation

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