mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +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));
|
|
}
|