1 2 3 4 5 6 7 8 9
fn foo(pred: bool) -> u8 { if pred { // { dg-error "mismatched types" } 1 } 3 } fn main(){ }