Sign in
gnu
/
gcc
/
7ff47281ce4f3699185b06a3430968eac2a5b0c6
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-explicit-spec2.C
blob: 4103714b0043a13e28a53e72672e7409424c6e01 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++2a } }
template
<
typename
T
>
concept
C
=
__is_class
(
T
);
struct
X
{
};
template
<
C T
>
struct
S
;
template
<>
struct
S
<
X
>
{
void
f
()
{
}
};
int
main
()
{
S
<
X
>
x
;
x
.
f
();
}