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