Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-pr95497.C
blob: 4d7718ad5e8eaaf5e2c8a708dd87f539a238ea92 [
file
] [
log
] [
blame
]
// PR c++/95497
// { dg-do compile { target c++20 } }
template
<
typename
T
>
struct
A
{};
template
<
typename
T
>
concept
c
=
requires
(
T t
,
A
<int>
b
)
// note that A<int> is independent of T
{
{
t
+=
b
};
};