about summary refs log tree commit diff
path: root/tests/ui/proc-macro/unsafe-mod.rs
blob: f8453c2f62cd49315aa5ac30a7c4dbbf227242ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ run-pass
//@ proc-macro: 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() {}