Debian Codegraph @

gcc/testsuite/g++.dg/modules/using-14.C

raw
1 // PR c++/114600
2 // { dg-additional-options "-fmodules-ts -Wno-global-module -fdump-lang-module" }
3 // { dg-module-cmi M }
4
5 module;
6 namespace std {
7 template<class T> struct A { int n; };
8 template<class T> A<T> f();
9 namespace __swappable_details { using std::f; }
10 }
11 export module M;
12
13 // The whole GMF should be discarded here
14 // { dg-final { scan-lang-dump "Wrote 0 clusters" module } }