Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
static-3_a.H
blob: e5a014e937323530ae9e34bc2863362cf701d19b [
file
] [
log
] [
blame
]
// { dg-additional-options -fmodules }
// { dg-module-do link }
inline
int
i
;
struct
A
{
A
()
{
++
i
;
}
};
inline
A
&
afn
()
{
static
A a
;
return
a
;
}