Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
macros
/
macro-path.rs
blob: be59d8d139bb59b49755dd6aff4a23ce773532eb [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
non_camel_case_types
)]
mod
m
{
pub
type
t
=
isize
;
}
macro_rules
!
foo
{
(
$p
:
path
)
=>
({
fn
f
()
->
$p
{
10
};
f
()
})
}
pub
fn
main
()
{
assert_eq
!(
foo
!(
m
::
t
),
10
);
}