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