Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-partial-spec5.C
blob: 8774d4f6fd703f60c716d247cb8f9d37b2ab2bc9 [
file
] [
log
] [
blame
]
// PR c++/67138
// { dg-do compile { target c++20 } }
template
<
class
T
>
concept
Auto
=
true
;
template
<
Auto
T
>
struct
test
{};
template
<
Auto
T
>
requires requires
(
T t
)
{
t
+
t
;
}
struct
test
<
T
>
{};