summaryrefslogtreecommitdiffstats
path: root/tests/ui/stability-attribute/stability-attribute-sanity-3.rs
blob: 13ef3d3f53d2b0dc2629249eda300d8c6f90ed38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// More checks that stability attributes are used correctly

#![feature(staged_api)]

#![stable(feature = "stable_test_feature", since = "1.0.0")]

#[macro_export]
macro_rules! mac { //~ ERROR macro has missing stability attribute
    () => ()
}

fn main() { }