blob: 4d7718ad5e8eaaf5e2c8a708dd87f539a238ea92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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 };
};
|