1 // { dg-additional-options -fmodules-ts }
2 
3 export module foo;
4 // { dg-module-cmi foo }
5 
6 export struct X
7 {
8   enum q
9   {
10     frob
11   };
12 };
13 
14 export template <int I> struct TPL
15 {
16   enum p
17   {
18     u,
19     v = I
20   };
21 };
22