diff options
Diffstat (limited to 'tests/ui/imports/extern-prelude-extern-crate-pass.rs')
-rw-r--r-- | tests/ui/imports/extern-prelude-extern-crate-pass.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/imports/extern-prelude-extern-crate-pass.rs b/tests/ui/imports/extern-prelude-extern-crate-pass.rs new file mode 100644 index 000000000..c87d58f63 --- /dev/null +++ b/tests/ui/imports/extern-prelude-extern-crate-pass.rs @@ -0,0 +1,12 @@ +// build-pass (FIXME(62277): could be check-pass?) +// aux-build:two_macros.rs + +extern crate two_macros; + +mod m { + fn check() { + two_macros::m!(); // OK + } +} + +fn main() {} |