Debian Codegraph @

gcc/testsuite/g++.dg/modules/export-7.C

raw
1 // PR c++/124781
2 // { dg-do compile { target c++20 } }
3 // { dg-additional-options "-fmodules" }
4 // { dg-module-cmi foo }
5
6 export module foo;
7 export using xx = decltype([] {
8 using yy = int;
9 int abc = 123;
10 }());