Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
cross-crate
/
cross-crate-newtype-struct-pat.rs
blob: eabffc16170cac1eb8a402199484b9e399963ecd [
file
] [
log
] [
blame
]
// run-pass
// aux-build:newtype_struct_xc.rs
extern
crate newtype_struct_xc
;
pub
fn
main
()
{
let
x
=
newtype_struct_xc
::
Au
(
21
);
match
x
{
newtype_struct_xc
::
Au
(
n
)
=>
assert_eq
!(
n
,
21
)
}
}