summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/unsafe-mod.rs
blob: 8ff6e352c53d09458b91ca0062b8b0cc82a963a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// aux-build:macro-only-syntax.rs

#![feature(proc_macro_hygiene)]

extern crate macro_only_syntax;

#[macro_only_syntax::expect_unsafe_mod]
unsafe mod m {
    pub unsafe mod inner;
}

fn main() {}