]> git.lizzy.rs Git - rust.git/blob - tests/ui/weak-new-uninhabited-issue-48493.rs
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / weak-new-uninhabited-issue-48493.rs
1 // run-pass
2
3 fn main() {
4     enum Void {}
5     let _ = std::rc::Weak::<Void>::new();
6     let _ = std::sync::Weak::<Void>::new();
7 }