blob: 54bf872d0287d8402105024aca2722375c6f7d54 [file] [log] [blame]
// run-pass
// Issue #34183
macro_rules! foo {
() => {
fn foo() { }
}
}
macro_rules! bar {
() => {
fn bar();
}
}
trait Bleh {
foo!();
bar!();
}
struct Test;
impl Bleh for Test {
fn bar() {}
}
fn main() {
Test::bar();
Test::foo();
}