rust/tests/run-make-fulldeps/issue-46239/main.rs
2023-01-11 09:32:08 +00:00

9 lines
121 B
Rust

fn project<T>(x: &(T,)) -> &T { &x.0 }
fn dummy() {}
fn main() {
let f = (dummy as fn(),);
(*project(&f))();
}