repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove mistakenly committed files
[gcc.git]
/
libstdc++-v3
/
testsuite
/
23_containers
/
vector
/
debug
/
n3644.cc
blob
052c52f26b7cc8660f4e03b1b01c2694e0869436
1
// { dg-do run { target c++11 } }
2
// { dg-require-debug-mode "" }
3
4
#include <vector>
5
#include <algorithm>
6
7
#include <testsuite_hooks.h>
8
9
int
main
()
10
{
11
std
::
vector
<
int
>::
iterator it
{};
12
auto
cpy
=
it
;
13
std
::
advance
(
it
,
0
);
14
VERIFY
(
it
==
cpy
);
15
return
0
;
16
}