]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-prop-ice3.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
[rust.git] / src / test / ui / consts / const-prop-ice3.rs
1 // run-pass (ensure that const-prop is run)
2
3 struct A<T: ?Sized>(T);
4
5 fn main() {
6     let _x = &(&A([2, 3]) as &A<[i32]>).0 as *const [i32] as *const i32;
7 }