mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-26 05:49:15 +00:00
14 lines
305 B
Diff
14 lines
305 B
Diff
- // MIR for `invalid_bool` before DataflowConstProp
|
|
+ // MIR for `invalid_bool` after DataflowConstProp
|
|
|
|
fn invalid_bool() -> bool {
|
|
let mut _0: bool;
|
|
|
|
bb0: {
|
|
- _0 = const -1_i8 as bool (Transmute);
|
|
+ _0 = const {transmute(0xff): bool};
|
|
return;
|
|
}
|
|
}
|
|
|