Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
box
/
unit
/
unique-autoderef-field.rs
blob: f751801d8dfd66296568341b390adc7557fa2958 [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
struct
J
{
j
:
isize
}
pub
fn
main
()
{
let
i
:
Box
<
_
>
=
Box
::
new
(
J
{
j
:
100
});
assert_eq
!(
i
.
j
,
100
);
}