Sign in
fuchsia
/
third_party
/
rust
/
d2b0555964913073a2680739e8678bab4b7850ed
/
.
/
tests
/
ui
/
macros
/
issue-8709.rs
blob: afde304e821bfdbffdab7a2780011cf4f3359e80 [
file
] [
log
] [
blame
]
//@ run-pass
macro_rules
!
sty
{
(
$t
:
ty
)
=>
(
stringify
!(
$t
))
}
macro_rules
!
spath
{
(
$t
:
path
)
=>
(
stringify
!(
$t
))
}
fn
main
()
{
assert_eq
!(
sty
!(
isize
),
"isize"
);
assert_eq
!(
spath
!(
std
::
option
),
"std::option"
);
}