We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef42830 commit 4627ea1Copy full SHA for 4627ea1
tests/mir-opt/copy-prop/partial_init.rs
@@ -1,4 +1,3 @@
1
-// skip-filecheck
2
//@ test-mir-pass: CopyProp
3
// Verify that we do not ICE on partial initializations.
4
@@ -9,6 +8,9 @@ use core::intrinsics::mir::*;
9
8
// EMIT_MIR partial_init.main.CopyProp.diff
10
#[custom_mir(dialect = "runtime", phase = "post-cleanup")]
11
pub fn main() {
+ // CHECK-LABEL: fn main(
12
+ // CHECK: let mut [[x:_.*]]: (isize,);
13
+ // CHECK: ([[x]].0: isize) = const 1_isize;
14
mir! (
15
let x: (isize, );
16
{
0 commit comments