]> git.proxmox.com Git - rustc.git/blob - src/test/ui/sized-owned-pointer.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / sized-owned-pointer.rs
1 // run-pass
2
3 #![allow(dead_code)]
4 // Possibly-dynamic size of typaram should be cleared at pointer boundary.
5
6
7 // pretty-expanded FIXME #23616
8
9 fn bar<T: Sized>() { }
10 fn foo<T>() { bar::<Box<T>>() }
11 pub fn main() { }