Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
structs-enums
/
struct-like-variant-construct.rs
blob: 60fc7ce394c0537a1882d988263c566cccda7e8b [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// pretty-expanded FIXME #23616
enum
Foo
{
Bar
{
a
:
isize
,
b
:
isize
},
Baz
{
c
:
f64
,
d
:
f64
}
}
pub
fn
main
()
{
let
_x
=
Foo
::
Bar
{
a
:
2
,
b
:
3
};
}