2 #![feature(const_generics, const_evaluatable_checked)]
3 #![allow(incomplete_features)]
5 fn callee<const M2: usize>() -> usize
12 fn caller<const N1: usize>() -> usize
15 [u8; (N1 + 1) + 1]: Sized,
17 callee::<{ N1 + 1 }>()
21 assert_eq!(caller::<4>(), 5);
24 // Test that the ``(N1 + 1) + 1`` bound on ``caller`` satisfies the ``M2 + 1`` bound on ``callee``