rust/tests/ui/issues/issue-36856.rs
2023-01-11 09:32:08 +00:00

17 lines
231 B
Rust

// run-pass
// Regression test for #36856.
// compile-flags:-g
// ignore-asmjs wasm2js does not support source maps yet
fn g() -> bool {
false
}
pub fn main() {
let a = !g();
if a != !g() {
panic!();
}
}