blob: 8fd091872c310407fec50d5276fce48ad7094acf [file] [log] [blame]
// https://github.com/rust-lang/rust/issues/7344
//@ run-pass
#![allow(unused_must_use)]
#![allow(unreachable_code)]
fn foo() -> bool { false }
fn bar() {
return;
!foo();
}
fn baz() {
return;
if "" == "" {}
}
pub fn main() {
bar();
baz();
}