blob: 82101ec614f69310954b21a71b18b7fa11570062 [file]
// { dg-additional-options "-w" }
#![feature(no_core)]
#![no_core]
macro_rules! foo {
($e:expr, $($t:tt)*) => {
#[doc = $e]
$($t)*
}
}
macro_rules! bar {
() => { "bar" }
}
struct S;
trait T {
fn f();
}
impl T for S {
foo!(bar!(), fn f() {});
}