d: Merge dmd, druntime c7902293d7, phobos 03aeafd20
[gcc.git] / libstdc++-v3 / testsuite / 23_containers / unordered_map / 115420.cc
blob5528bf813bd722d4bb1cce39f029ee3d34d30644
1 // { dg-do compile { target c++11 } }
3 #include <unordered_map>
5 struct S { };
7 void
8 test_pr115420()
10 std::unordered_map<S, int> m; // { dg-error "here" }
13 // { dg-error "hash function must be copy constructible" "" { target *-*-* } 0 }
14 // { dg-prune-output "use of deleted function" }
15 // { dg-prune-output "is private" }
16 // { dg-prune-output "no matching function" }