We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c241e14 commit db4c09cCopy full SHA for db4c09c
tests/codegen/common_prim_int_ptr.rs
@@ -40,7 +40,7 @@ pub unsafe fn extract_int(x: Result<usize, Box<()>>) -> usize {
40
}
41
42
// CHECK-LABEL: @extract_box
43
-// CHECK-SAME: (i{{[0-9]+}} {{[^%]+}} [[DISCRIMINANT:%[0-9]+]], ptr {{[^,]+}} [[PAYLOAD:%[0-9]+]])
+// CHECK-SAME: (i{{[0-9]+}} {{[^%]+}} [[DISCRIMINANT:%[0-9]+]], ptr {{[^%]+}} [[PAYLOAD:%[0-9]+]])
44
#[no_mangle]
45
pub unsafe fn extract_box(x: Result<usize, Box<i32>>) -> Box<i32> {
46
// CHECK: ret ptr [[PAYLOAD]]
0 commit comments