2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2016-10-04 05:55:45 -04:00
|
|
|
// Regression test for #36856.
|
|
|
|
|
|
|
|
// compile-flags:-g
|
2019-08-16 22:08:01 -07:00
|
|
|
// ignore-asmjs wasm2js does not support source maps yet
|
2016-10-04 05:55:45 -04:00
|
|
|
|
|
|
|
fn g() -> bool {
|
|
|
|
false
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
let a = !g();
|
|
|
|
if a != !g() {
|
|
|
|
panic!();
|
|
|
|
}
|
|
|
|
}
|