Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
tpl-friend-3_b.C
blob: accf5d5353c273aecd96835c8acc88c47646738a [
file
] [
log
] [
blame
]
// { dg-additional-options -fmodules-ts }
module
foo
;
template
class
TPL
<int>
;
// (instantiated in interface) template class TPL<float>;
void
m
()
{
// friend definitions instantiated on-demand here
foo
(
1
,
0
);
foo
(
1.0f
,
0
);
}