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
369 B
Rust
Raw Normal View History

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