Debian Codegraph @

gcc/testsuite/g++.dg/concepts/fn7.C

raw
1 // { dg-do link { target c++14 } }
2 // { dg-options "-fconcepts" }
3
4 void f() requires true { } // { dg-error "constraints on a non-templated function" }
5
6 int main() { }