diff options
Diffstat (limited to 'tests/ui/macros/macro-export-inner-module.rs')
-rw-r--r-- | tests/ui/macros/macro-export-inner-module.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-export-inner-module.rs b/tests/ui/macros/macro-export-inner-module.rs new file mode 100644 index 000000000..1f23e90b6 --- /dev/null +++ b/tests/ui/macros/macro-export-inner-module.rs @@ -0,0 +1,9 @@ +// run-pass +//aux-build:macro_export_inner_module.rs + +#[macro_use] #[no_link] +extern crate macro_export_inner_module; + +pub fn main() { + assert_eq!(1, foo!()); +} |