rust/tests/ui/macros/macro-in-fn.rs

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

9 lines
93 B
Rust
Raw Normal View History

2019-08-21 23:11:01 +00:00
// run-pass
#![feature(decl_macro)]
pub fn moo() {
pub macro ABC() {{}}
}
2019-08-21 23:11:01 +00:00
fn main() {}