blob: 860de200f625669153c27e9af11a335aa3f2b4b3 [file] [log] [blame]
// compile-pass
struct S<T>(*const T) where T: ?Sized;
fn main() {
let u = vec![1, 2, 3];
let _s: S<[u8]> = S(&u[..]);
}