Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
structs-enums
/
unit-like-struct.rs
blob: 636ec99266717df313905d87d9220be2d93fe420 [
file
] [
log
] [
blame
]
// run-pass
struct
Foo
;
pub
fn
main
()
{
let
x
:
Foo
=
Foo
;
match
x
{
Foo
=>
{
println
!(
"hi"
);
}
}
}