os-rust/tests/ui/macros/macro-stability-rpass.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
371 B
Rust
Raw Normal View History

//@ run-pass
2018-02-24 19:11:06 -08:00
//@ aux-build:unstable-macros.rs
2021-08-05 22:09:25 -07:00
#![unstable(feature = "one_two_three_testing", issue = "none")]
#![feature(staged_api, unstable_macros, local_unstable)]
2018-02-24 19:11:06 -08:00
#[macro_use] extern crate unstable_macros;
#[unstable(feature = "local_unstable", issue = "none")]
2018-02-24 19:11:06 -08:00
macro_rules! local_unstable { () => () }
fn main() {
unstable_macro!();
local_unstable!();
}