summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-2727.rs
blob: 56024abc8f58dff58cc2141a06522c6dc1a3a737 (plain)
1
2
3
4
5
6
7
/// Test for https://github.com/rust-lang/rust-clippy/issues/2727

pub fn f(new: fn()) {
    new();
}

fn main() {}