Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
pr65636.C
blob: f927c9abefca7d876e447d3e924085c16f19af56 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
using
TD
=
int
;
template
<
typename
T
>
concept
bool
C
()
{
return
requires
()
{
typename
TD
;
};
}
static_assert
(
C
<int>
(),
""
);