blob: b35c0f91abd2c1d0052db81f122b8b159f43401c (
plain)
1
2
3
4
5
6
7
8
9
10
|
//@ run-pass
#![allow(dead_code)]
// Possibly-dynamic size of typaram should be cleared at pointer boundary.
fn bar<T: Sized>() { }
fn foo<T>() { bar::<Box<T>>() }
pub fn main() { }
|