summary refs log tree commit diff
path: root/tests/ui/attributes/fn-align-nameres-ambiguity-143834.rs
blob: 536d6ff43fbac7e76f63690cfaf1846b6a60754e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Anti-regression test to demonstrate that at least we mitigated breakage from adding a new
// `#[align]` built-in attribute.
//
// See https://github.com/rust-lang/rust/issues/143834.

//@ check-pass

// Needs edition >= 2018 macro use behavior.
//@ edition: 2018

macro_rules! align {
    () => {
        /* .. */
    };
}

pub(crate) use align;

fn main() {}