]> git.lizzy.rs Git - rust.git/blob - tests/ui/crashes/ice-2727.rs
Merge remote-tracking branch 'upstream/master' into rustup
[rust.git] / tests / ui / crashes / ice-2727.rs
1 /// Test for https://github.com/rust-lang/rust-clippy/issues/2727
2
3 pub fn f(new: fn()) {
4     new();
5 }
6
7 fn main() {}