Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
diagnostic11.C
blob: 7c60912352ab7fa4f685c9b2b37463421722399d [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17_only } }
template
<
bool
B
>
requires B
// { dg-error ".requires. does not name a type" }
// { dg-message ".requires. only available with" "" { target *-*-* } .-1 }
void
foo
()
{
}