☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp23
/
concepts-err1.C
☽
☼
gcc/testsuite/g++.dg/cpp23/concepts-err1.C
code
plain
raw
1
// PR c++/103408
2
// { dg-do compile { target c++23 } }
3
4
template<int>
5
concept C = auto([]{}); // { dg-error "constraint" }
6
static_assert(C<0>); // { dg-error "non-constant condition for static assertion" }