diff options
Diffstat (limited to 'src/test/ui/macros/macro-path-prelude-pass.rs')
-rw-r--r-- | src/test/ui/macros/macro-path-prelude-pass.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/macros/macro-path-prelude-pass.rs b/src/test/ui/macros/macro-path-prelude-pass.rs new file mode 100644 index 000000000..7cf346286 --- /dev/null +++ b/src/test/ui/macros/macro-path-prelude-pass.rs @@ -0,0 +1,9 @@ +// check-pass + +mod m { + fn check() { + std::panic!(); // OK + } +} + +fn main() {} |