// { dg-do compile { target c++11 } } #include struct S { }; void test_pr115420() { std::unordered_map m; // { dg-error "here" } } // { dg-error "hash function must be copy constructible" "" { target *-*-* } 0 } // { dg-prune-output "use of deleted function" } // { dg-prune-output "is private" } // { dg-prune-output "no matching function" }