]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/stdlib-prelude-from-opaque-late.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / hygiene / stdlib-prelude-from-opaque-late.rs
1 // check-pass
2
3 #![feature(decl_macro)]
4
5 macro mac() {
6     mod m {
7         fn f() {
8             std::mem::drop(0); // OK (extern prelude)
9             drop(0); // OK (stdlib prelude)
10         }
11     }
12 }
13
14 mac!();
15
16 fn main() {}