1 // Test that macro-expanded non-inline modules behave correctly
3 macro_rules! mod_decl {
4 ($i:ident) => { mod $i; } //~ ERROR Cannot declare a non-inline module inside a block
7 mod macro_expanded_mod_helper {
8 mod_decl!(foo); // This should search in the folder `macro_expanded_mod_helper`