2019-03-11 19:49:17 -05:00
|
|
|
// aux-build:define-macro.rs
|
2016-10-31 20:35:05 -05:00
|
|
|
|
|
|
|
macro_rules! bar { () => {} }
|
|
|
|
define_macro!(bar);
|
2018-08-27 17:41:07 -05:00
|
|
|
bar!(); //~ ERROR `bar` is ambiguous
|
2016-10-31 20:35:05 -05:00
|
|
|
|
|
|
|
macro_rules! m { () => { #[macro_use] extern crate define_macro; } }
|
|
|
|
m!();
|
|
|
|
|
|
|
|
fn main() {}
|