Debian Codegraph @

gcc/testsuite/g++.dg/modules/concept-3_a.C

raw
1 // { dg-additional-options "-fmodules-ts -std=c++2a" }
2
3 export module foo;
4 // { dg-module-cmi foo }
5
6 namespace foo
7 {
8 export template<typename _Tp>
9 concept Addable = requires(_Tp& __t)
10 {
11 __t + __t;
12 };
13 }