Debian Codegraph @

gcc/testsuite/g++.dg/modules/tpl-friend-12_a.C

raw
1 // { dg-additional-options "-fmodules-ts" }
2 // { dg-module-cmi M:A }
3
4 module M:A;
5
6 template <typename T> struct A {
7 template <typename U> friend struct B;
8 private:
9 int x = 42;
10 };