Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-pr80746.C
blob: 1a0008e7a98936d8ed58d92eeb0ed7185f4618f1 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++20 } }
// { dg-additional-options "-fconcepts-ts" }
template
<
typename
T
,
typename
T
::
type
>
concept
bool
C
=
true
;
template
<
C
<
0
>
T
>
class
ct
{};
struct
S
{
using
type
=
int
;
};
template
class
ct
<
S
>;