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
OpenMP: Fix typo in atomic directive error message
[gcc.git]
/
libstdc++-v3
/
testsuite
/
23_containers
/
span
/
cons_2_assert_neg.cc
blob
e3a3a2678c6f4b852b40f5b5c7dfb3cfc80a6f3c
1
// { dg-do run { target c++20 xfail *-*-* } }
2
// { dg-add-options no_pch }
3
4
#undef _GLIBCXX_DEBUG
5
#define _GLIBCXX_DEBUG
6
#include <span>
7
#include <vector>
8
9
int
main
()
10
{
11
std
::
vector
<
int
>
v
(
2
),
w
(
1
);
12
std
::
span
<
int
,
std
::
dynamic_extent
>
s
(
v
.
begin
(),
w
.
end
());
13
}