blob: 0aeb9edb292e90ff81cc928083ae73ed743ef808 [file] [log] [blame] [edit]
//@ compile-flags: -Z mir-opt-level=3
//@ build-pass
// This used to ICE due to the inling pass not examining projections
// for references to locals
pub fn parse(version: ()) {
p(&b'.', b"0");
}
#[inline(always)]
fn p(byte: &u8, s: &[u8]) {
!(s[0] == *byte);
}
fn main() {
parse(());
}