Add regression test
This commit is contained in:
parent
de08218f24
commit
7d891166f9
1 changed files with 8 additions and 0 deletions
|
|
@ -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() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue