about summary refs log tree commit diff
path: root/tests/ui/sized-owned-pointer.rs
blob: 48f870de9ae7e1cf6e9b19f23925c79b05197249 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ run-pass

#![allow(dead_code)]
// Possibly-dynamic size of typaram should be cleared at pointer boundary.


//@ pretty-expanded FIXME #23616

fn bar<T: Sized>() { }
fn foo<T>() { bar::<Box<T>>() }
pub fn main() { }