Daily bump.
[gcc.git] / libstdc++-v3 / testsuite / 23_containers / map / debug / 112477.cc
blobbde613b8905a8e66f2903bc40f0c0f763e453c6d
1 // { dg-do run { target c++11 } }
2 // { dg-require-debug-mode "" }
4 // PR libstdc++/112477
6 #include <map>
8 int main()
10 using M = std::map<int, int>;
11 using I = M::iterator;
13 M map{ {1, 1}, {2, 2} };
15 I it1 = map.begin();
16 it1 = I{};
18 I it2{};
19 (void)(it1 == it2);