Sign in
fuchsia
/
third_party
/
rust
/
fad27df3e7aafbd83341df34d397fe4015f69679
/
.
/
src
/
test
/
run-pass
/
readalias.rs
blob: 444d447123368ac606595dff591b8a060c7c1c0c [
file
] [
log
] [
blame
]
#![
allow
(
dead_code
)]
struct
Point
{
x
:
isize
,
y
:
isize
,
z
:
isize
}
fn
f
(
p
:
Point
)
{
assert_eq
!(
p
.
z
,
12
);
}
pub
fn
main
()
{
let
x
:
Point
=
Point
{
x
:
10
,
y
:
11
,
z
:
12
};
f
(
x
);
}