☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
libstdc++-v3
/
testsuite
/
23_containers
/
span
/
cons_1_assert_neg.cc
☽
☼
libstdc++-v3/testsuite/23_containers/span/cons_1_assert_neg.cc
code
plain
raw
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);
12
std::span<int, std::dynamic_extent> s(v.begin(), 3);
13
}