Skip to content

Commit 7d89116

Browse files
committed
Add regression test
1 parent de08218 commit 7d89116

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// check-pass
2+
3+
type I32Cmp = fn(&i32, &i32) -> core::cmp::Ordering;
4+
pub const fn min_by_i32() -> fn(i32, i32, I32Cmp) -> i32 {
5+
core::cmp::min_by
6+
}
7+
8+
fn main() {}

0 commit comments

Comments
 (0)