Debian Codegraph @

gcc/testsuite/g++.dg/modules/using-enum-4_a.C

raw
1 // PR c++/114683
2 // { dg-do compile { target c++20 } }
3 // { dg-additional-options "-fmodules-ts -Wno-global-module" }
4 // { dg-module-cmi M:a }
5
6 module;
7 namespace foo {
8 enum class a { x, y, z };
9 }
10 export module M:a;
11 namespace bar {
12 export using enum foo::a;
13 }