mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-07 05:15:02 +00:00
9 lines
111 B
Rust
9 lines
111 B
Rust
// run-pass
|
|
// pretty-expanded FIXME #23616
|
|
|
|
fn f<T: 'static>(_x: T) {}
|
|
|
|
pub fn main() {
|
|
f(Box::new(5));
|
|
}
|