Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
partial-spec5.C
blob: bec6715ea65456e635cecbc51d3c03d49273fcbf [
file
] [
log
] [
blame
]
// PR c++/67138
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template
<
class
T
>
concept
bool
_Auto
=
true
;
template
<
_Auto
T
>
struct
test
{};
template
<
_Auto
T
>
requires requires
(
T t
)
{
t
+
t
;
}
struct
test
<
T
>
{};