mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Add regression test
This commit is contained in:
@@ -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() {}
|
||||
Reference in New Issue
Block a user