mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
24 lines
352 B
Rust
24 lines
352 B
Rust
//@ run-pass
|
|
|
|
#![allow(path_statements)]
|
|
//@ aux-build:issue-50061.rs
|
|
|
|
#![feature(decl_macro)]
|
|
|
|
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);
|
|
}
|