summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-4464.rs
blob: 7ac107150a03b71895be91a80f755a4a8e81609d (plain)
1
2
3
4
5
6
7
// check-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616

fn broken(v: &[u8], i: usize, j: usize) -> &[u8] { &v[i..j] }

pub fn main() {}