2019-07-26 16:54:25 -05:00
|
|
|
// run-pass
|
|
|
|
|
2018-09-17 04:18:35 -05:00
|
|
|
#![allow(path_statements)]
|
2018-04-21 20:10:15 -05:00
|
|
|
// aux-build:issue-50061.rs
|
|
|
|
|
2018-08-17 16:52:34 -05:00
|
|
|
#![feature(decl_macro)]
|
2018-04-21 20:10:15 -05:00
|
|
|
|
|
|
|
extern crate issue_50061;
|
|
|
|
|
|
|
|
macro inner(any_token $v: tt) {
|
|
|
|
$v
|
|
|
|
}
|
|
|
|
|
|
|
|
macro outer($v: tt) {
|
|
|
|
inner!(any_token $v)
|
|
|
|
}
|
|
|
|
|
|
|
|
#[issue_50061::check]
|
|
|
|
fn main() {
|
|
|
|
//! this doc comment forces roundtrip through a string
|
|
|
|
let checkit = 0;
|
|
|
|
outer!(checkit);
|
|
|
|
}
|