| 1 |
// { dg-do run { target c++11 } } |
| 2 |
// { dg-require-debug-mode "" } |
| 3 |
|
| 4 |
// PR libstdc++/114316 |
| 5 |
|
| 6 |
#include <vector> |
| 7 |
#include <algorithm> |
| 8 |
|
| 9 |
#include <testsuite_hooks.h> |
| 10 |
|
| 11 |
int main() |
| 12 |
{ |
| 13 |
std::vector<int>::iterator it{}; |
| 14 |
VERIFY( std::find(it, it, 0) == it ); |
| 15 |
return 0; |
| 16 |
} |