Debian Codegraph @

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

raw
1 // { dg-additional-options -fmodules-ts }
2
3 export module bob;
4 // { dg-module-cmi bob }
5
6 export template <typename T, typename U>
7 struct same
8 {
9 enum { value = 0 };
10 };
11
12 template<typename T>
13 struct same <T, T>
14 {
15 enum { value = 1 };
16 };
17