]> git.proxmox.com Git - rustc.git/blob - src/test/ui/coherence/coherence-overlap-double-negative.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / coherence / coherence-overlap-double-negative.rs
1 // check-pass
2
3 #![feature(negative_impls)]
4 #![feature(with_negative_coherence)]
5
6 trait A {}
7 trait B: A {}
8
9 impl !A for u32 {}
10 impl !B for u32 {}
11
12 fn main() {}