about summary refs log tree commit diff
path: root/src/test/ui/macros/macro-stability-rpass.rs
blob: a5f538ba6b36acae48dcc2598a99d04b059214b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// run-pass
// aux-build:unstable-macros.rs

#![feature(unstable_macros, local_unstable)]

#[macro_use] extern crate unstable_macros;

#[unstable(feature = "local_unstable", issue = "none")]
macro_rules! local_unstable { () => () }

fn main() {
    unstable_macro!();
    local_unstable!();
}