Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/concepts-pr95497.C

raw
1 // PR c++/95497
2 // { dg-do compile { target c++20 } }
3
4 template <typename T>
5 struct A{};
6
7 template <typename T>
8 concept c =
9 requires(T t, A<int> b) // note that A<int> is independent of T
10 {
11 { t += b };
12 };