☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
inline-1_a.C
☽
☼
gcc/testsuite/g++.dg/modules/inline-1_a.C
code
plain
raw
1
// { dg-additional-options -fmodules }
2
// { dg-module-do run }
3
export module M;
4
5
inline int b = 42;
6
struct A
7
{
8
static inline int a = 4200;
9
};
10
11
export inline int f() { return b+A::a; }