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

#![unstable(feature = "one_two_three_testing", issue = "none")]
#![feature(staged_api, 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!();
}