Debian Codegraph @

gcc/testsuite/g++.dg/modules/using-enum-1_a.H

raw
1 // { dg-additional-options {-fmodule-header -std=c++2a} }
2 // { dg-module-cmi {} }
3
4 enum class E {a, b, c};
5 struct C
6 {
7 using enum E;
8 };
9
10 struct D: C
11 {
12 int foo ()
13 {
14 return int (a);
15 }
16 };