Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
inline-1_a.C
blob: eafd450e6677dfea9465552dbf464bbd24fbcd5a [
file
] [
log
] [
blame
]
// { dg-additional-options -fmodules }
// { dg-module-do run }
export
module
M
;
inline
int
b
=
42
;
struct
A
{
static
inline
int
a
=
4200
;
};
export
inline
int
f
()
{
return
b
+
A
::
a
;
}