Sign in
fuchsia
/
third_party
/
rust
/
12307b3b08edee543a78fb9d4a837fbd6d6ac0fa
/
.
/
src
/
test
/
ui
/
hygiene
/
issue-47311.rs
blob: 5c2379a8ababf6610adc4e2d62f9c78c7c258500 [
file
] [
log
] [
blame
]
// check-pass
// ignore-pretty pretty-printing is unhygienic
#![
feature
(
decl_macro
)]
#![
allow
(
unused
)]
macro m
(
$S
:
ident
,
$x
:
ident
)
{
$S
{
$x
:
0
}
}
mod
foo
{
struct
S
{
x
:
i32
}
fn
f
()
{
::
m
!(
S
,
x
);
}
}
fn
main
()
{}