summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/unsafe-auto-trait-impl.rs
blob: bcfc747ebb17051dff391564569253e6ce2231b8 (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Ztrait-solver=next
// check-pass

struct Foo(*mut ());

unsafe impl Sync for Foo {}

fn main() {}