216424da32
This reverts commit57dad1d75e
, reversing changes made to36316df9fe
.
16 lines
251 B
Rust
16 lines
251 B
Rust
//@ 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;
|
|
}
|