Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
pr71127.C
blob: 224eaa3d2f7a03616ed15c002d87183f102ddd66 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template
<
template
<typename>
class
T
>
concept
bool
C
=
T
<int>
::
value
;
C c
=
1
;
// { dg-error "does not constrain a type" }