Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
proc-macro
/
issue-81555.rs
blob: bbc7542cb24a71421a45d809d0b5c3c276a895fd [
file
] [
log
] [
blame
]
//@ check-pass
//@ proc-macro: test-macros.rs
#![
feature
(
stmt_expr_attributes
,
proc_macro_hygiene
)]
extern
crate test_macros
;
use
test_macros
::
identity_attr
;
#[
identity_attr
]
fn
main
()
{
let
_x
;
let
y
=
();
#[
identity_attr
]
_x
=
y
;
}