mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
16 lines
176 B
Rust
16 lines
176 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!();
|
|
}
|
|
}
|