mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-14 21:40:58 +00:00
10 lines
181 B
Rust
10 lines
181 B
Rust
//@ run-pass
|
|
|
|
#![allow(dead_code)]
|
|
// Possibly-dynamic size of typaram should be cleared at pointer boundary.
|
|
|
|
|
|
fn bar<T: Sized>() { }
|
|
fn foo<T>() { bar::<&T>() }
|
|
pub fn main() { }
|