Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
codegen-units
/
partitioning
/
auxiliary
/
shared_generics_aux.rs
blob: d50a7910fe0b32e84ae3d0314d48eeb45b1cfeae [
file
] [
log
] [
blame
]
// compile-flags:-Zshare-generics=yes
#![
crate_type
=
"rlib"
]
pub
fn
generic_fn
<
T
>(
x
:
T
,
y
:
T
)
->
(
T
,
T
)
{
(
x
,
y
)
}
pub
fn
use_generic_fn_f32
()
->
(
f32
,
f32
)
{
generic_fn
(
0.0f32
,
1.0f32
)
}