Fortran: ICE in gfc_conv_expr_present w. defined assignment [PR118640]
[gcc.git] / libstdc++-v3 / testsuite / 23_containers / unordered_set / insert / 117686.cc
blob3baac16c2b472e84f2df35222847092f638b7941
1 // { dg-do compile { target c++11 } }
2 // Bug 117686 - error in unordered_set::emplace
4 #include <unordered_set>
5 #include <utility>
7 struct H {
8 std::size_t operator()(const std::pair<int, int>&) const { return 0; }
9 };
11 void
12 test_117686()
14 std::unordered_set<std::pair<int, int>, H> s;
15 s.emplace(1, 2);