Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
hygiene
/
issue-47312.rs
blob: bbcb3a7f39311b9635b4cd12200efa2edfefb986 [
file
] [
log
] [
blame
]
// check-pass
// ignore-pretty pretty-printing is unhygienic
#![
feature
(
decl_macro
)]
#![
allow
(
unused
)]
mod
foo
{
pub
macro m
(
$s
:
tt
,
$i
:
tt
)
{
$s
.
$i
}
}
mod
bar
{
struct
S
(
i32
);
fn
f
()
{
let
s
=
S
(
0
);
::
foo
::
m
!(
s
,
0
);
}
}
fn
main
()
{}