Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
mod-tpl-1_a.C
blob: f48e1237d014b3303b27cee0b953265ebcfca92b [
file
] [
log
] [
blame
]
// { dg-module-do run }
// { dg-additional-options "-fmodules-ts" }
export
module
Frob
;
// { dg-module-cmi "Frob" }
export
template
<
typename
T
>
T twice
(
T x
)
{
return
x
*
2
;
}