☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
typename-friend_a.C
☽
☼
gcc/testsuite/g++.dg/modules/typename-friend_a.C
code
plain
raw
1
// { dg-additional-options "-fmodules-ts" }
2
export module foo;
3
// { dg-module-cmi foo }
4
5
template<class T>
6
struct A {
7
friend typename T::type;
8
friend void f(A) { }
9
private:
10
static constexpr int value = 42;
11
};