Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
binding
/
match-var-hygiene.rs
blob: 43740bbcf1d5584d0acc5e6d1667c38fcb821efc [
file
] [
log
] [
blame
]
// run-pass
// shouldn't affect evaluation of $ex.
macro_rules
!
bad_macro
{
(
$ex
:
expr
)
=>
(
{
match
9
{
_x
=>
$ex
}}
)}
fn
main
()
{
match
8
{
_x
=>
assert_eq
!(
bad_macro
!(
_x
),
8
)
}
}