Debian Codegraph @

gcc/testsuite/g++.dg/modules/concept-11_a.H

raw
1 // PR c++/119939
2 // { dg-additional-options "-fmodule-header -std=c++20" }
3 // { dg-module-cmi {} }
4
5 template <typename T> concept A = true;
6 template <typename T> concept B = requires { T{}; };
7 template <typename T> struct S {
8 friend bool operator==(const S&, const S&) requires B<T> = default;
9 };