Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
proc-macro
/
issue-81555.rs
blob: 7a61a31952f4133d2a730a74e9160b3ade4cf873 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
//@ aux-build: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
;
}