Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
tpl-friend-2_b.C
blob: 38d89f06b1aa72b0f39988a7c64bbe462ce00e00 [
file
] [
log
] [
blame
]
// { dg-additional-options -fmodules-ts }
module
foo
;
void
foo
(
int
x
,
void
*
p
)
{
auto
*
obj
=
reinterpret_cast
<
TPL
<int>
*>
(
p
);
obj
->
member
=
x
;
}