rust/tests/ui/traits/next-solver/unsafe-auto-trait-impl.rs

9 lines
113 B
Rust

//@ compile-flags: -Znext-solver
//@ check-pass
struct Foo(*mut ());
unsafe impl Sync for Foo {}
fn main() {}