Add regression test

This commit is contained in:
Oli Scherer 2023-03-31 14:01:48 +00:00
parent de08218f24
commit 7d891166f9

View file

@ -0,0 +1,8 @@
// check-pass
type I32Cmp = fn(&i32, &i32) -> core::cmp::Ordering;
pub const fn min_by_i32() -> fn(i32, i32, I32Cmp) -> i32 {
core::cmp::min_by
}
fn main() {}