Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/concepts-nonbool3.C

raw
1 // { dg-do compile { target c++20 } }
2
3 template <auto V> concept C = false || V || false; // { dg-error "has type 'int'" }
4 template <auto V> int f() requires C<V>;
5 int a = f<0>(); // { dg-error "no match" }