Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
nested-2_a.C
blob: e21973593d1ca08bb4a767eea200ff68b3b03f51 [
file
] [
log
] [
blame
]
// { dg-module-do run }
// { dg-additional-options "-fmodules-ts" }
export
module
bob
;
// { dg-module-cmi bob }
export
struct
X
{
typedef
X
*
iter
;
int
m
;
X
()
:
m
(-
1
)
{
}
void
set
(
int
m_
)
{
m
=
m_
;
}
operator
int
()
const
{
return
m
;
}
};