2019-07-27 00:54:25 +03:00
|
|
|
// run-pass
|
|
|
|
|
2018-09-17 11:18:35 +02:00
|
|
|
#![allow(path_statements)]
|
2018-04-22 04:10:15 +03:00
|
|
|
// aux-build:issue-50061.rs
|
|
|
|
|
2018-08-18 00:52:34 +03:00
|
|
|
#![feature(decl_macro)]
|
2018-04-22 04:10:15 +03: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);
|
|
|
|
}
|