Sign in
fuchsia
/
third_party
/
rust
/
upstream/beta
/
.
/
tests
/
ui
/
macros
/
issue-33185.rs
blob: 5771b40809dc3af6aa8c92cc8909659692906cc3 [
file
]
//@ check-pass
#![
allow
(
dead_code
)]
#[
macro_export
]
macro_rules
!
state
{
(
$
(
$name
:
ident
:
$field
:
ty
)*
)
=>
(
#[
derive
(
Default
)]
struct
State
{
$
(
$name
:
$field
),*
}
)
}
state
!
{
x
:
i64
}
pub
fn
main
()
{
}