Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-attrib1.C
blob: 0154afa5df19a67446d9771b5d704f2f7590b996 [
file
] [
log
] [
blame
]
// PR c++/92739
// { dg-do compile { target concepts } }
template
<
class
T
>
concept
C
=
true
;
template
<
class
T
>
requires C
<
T
>
[[
nodiscard
]]
int
f
(
T t
)
{
return
22
;
}
int
main
()
{
return
0
;
}