Refactor ix86_expand_vecop_qihi2.
[gcc.git] / libstdc++-v3 / testsuite / 23_containers / unordered_set / debug / 114316.cc
blob41b649a9cbd38d78b98341f3ae30921a1a71ff69
1 // { dg-do run { target c++11 } }
2 // { dg-require-debug-mode "" }
4 // PR libstdc++/114316
6 #include <unordered_set>
7 #include <algorithm>
9 #include <testsuite_hooks.h>
11 void test01()
13 std::unordered_set<int>::iterator it{};
14 VERIFY( std::find(it, it, 0) == it );
17 void test02()
19 std::unordered_set<int>::local_iterator it{};
20 VERIFY( std::find(it, it, 0) == it );
23 int main()
25 test01();
26 test02();
27 return 0;