blob: e5bdc542bad068faa5a7e5d366064647c86c0cce (
plain)
1
2
3
4
5
6
|
// 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" }
|