Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
>
{};