Sign in
◑
Theme
rust
/
rust
/
e4932e024a866fcfbe472a554e26e39e00a6bc4f
/
.
/
tests
/
ui
/
structs
/
unit-like-struct.rs
blob: 8a2f500676e688bfbeec60a9485a706adb0aab0f [
file
]
//@ run-pass
struct
Foo
;
pub
fn
main
()
{
let
x
:
Foo
=
Foo
;
match
x
{
Foo
=>
{
println
!(
"hi"
);
}
}
}