Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
for-loop-while
/
for-loop-goofiness.rs
blob: 872ab168bb26dc530f0d372a2b98039903af3cac [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
enum
BogusOption
<
T
>
{
None
,
Some
(
T
),
}
type
Iterator
=
isize
;
pub
fn
main
()
{
let
x
=
[
3
,
3
,
3
];
for
i in
&
x
{
assert_eq
!(*
i
,
3
);
}
}