Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
f97c37f8ae9a3bb9eed2d2fa812c01ac78b460fb
/
.
/
src
/
test
/
ui
/
issues
/
issue-333.rs
blob: 0753aaa079784a80ebc3fbf0b1b7eace22a79c6a [
file
] [
log
] [
blame
]
// run-pass
fn
quux
<
T
>(
x
:
T
)
->
T
{
let
f
=
id
::<
T
>;
return
f
(
x
);
}
fn
id
<
T
>(
x
:
T
)
->
T
{
return
x
;
}
pub
fn
main
()
{
assert_eq
!(
quux
(
10
),
10
);
}