1 // This test checks an optimization that is not guaranteed to work. This test case should not block
2 // a future LLVM update.
12 // CHECK-LABEL: @lookup_inc
14 pub fn lookup_inc(buf: &[u8; 5], f: Bar) -> u8 {
15 // CHECK-NOT: panic_bounds_check
19 // CHECK-LABEL: @lookup_dec
21 pub fn lookup_dec(buf: &[u8; 5], f: Bar) -> u8 {
22 // CHECK-NOT: panic_bounds_check