Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
src
/
test
/
ui
/
ret-none.rs
blob: d595506e336f643220a519e14eb4e843c339c9ea [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
non_camel_case_types
)]
#![
allow
(
dead_code
)]
// pretty-expanded FIXME #23616
enum
option
<
T
>
{
none
,
some
(
T
),
}
fn
f
<
T
>()
->
option
<
T
>
{
return
option
::
none
;
}
pub
fn
main
()
{
f
::<
isize
>();
}