Debian Codegraph @

gcc/testsuite/g++.dg/modules/tpl-tpl-mem-1_a.C

raw
1 // { dg-additional-options -fmodules-ts }
2
3 export module foo;
4 // { dg-module-cmi foo }
5
6 template <typename T>
7 class outer
8 {
9 public:
10 template <typename U>
11 struct inner
12 {
13 typedef outer<U> other;
14 };
15
16 using type = T;
17 };
18
19 template class outer<int>;