rust/tests/ui/issues/issue-36856.rs
2023-10-28 23:11:03 -07:00

16 lines
174 B
Rust

// run-pass
// Regression test for #36856.
// compile-flags:-g
fn g() -> bool {
false
}
pub fn main() {
let a = !g();
if a != !g() {
panic!();
}
}