Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp23
/
concepts-err1.C
blob: e5bdc542bad068faa5a7e5d366064647c86c0cce [
file
] [
log
] [
blame
]
// PR c++/103408
// { dg-do compile { target c++23 } }
template
<int>
concept
C
=
auto
([]{});
// { dg-error "constraint" }
static_assert
(
C
<
0
>);
// { dg-error "non-constant condition for static assertion" }