diff options
| author | Jubilee <workingjubilee@gmail.com> | 2025-02-14 14:05:28 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-14 14:05:28 -0800 |
| commit | 9d659fc2bec22a991a1a728ec3f995c51386ff6e (patch) | |
| tree | c70725f8219caf305160a05d04c900d3934371a3 /tests/codegen | |
| parent | db5238a525e288149686e8f70943758ec6d9d1bd (diff) | |
| parent | db4c09c4d4d125826ea835f4296e4f9bad3d39e6 (diff) | |
| download | rust-9d659fc2bec22a991a1a728ec3f995c51386ff6e.tar.gz rust-9d659fc2bec22a991a1a728ec3f995c51386ff6e.zip | |
Rollup merge of #137038 - maurer:tolerate-captures, r=nikic
llvm: Tolerate captures in tests llvm/llvm-project@7e3735d1a1b85cea48feb45cb7c2b5d8eaa216ae introduces `captures` annotations. Adjust regexes to be tolerant of these. `@rustbot` label:+llvm-main
Diffstat (limited to 'tests/codegen')
| -rw-r--r-- | tests/codegen/common_prim_int_ptr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/common_prim_int_ptr.rs b/tests/codegen/common_prim_int_ptr.rs index 8eb05024174..a1d7a125f32 100644 --- a/tests/codegen/common_prim_int_ptr.rs +++ b/tests/codegen/common_prim_int_ptr.rs @@ -40,7 +40,7 @@ pub unsafe fn extract_int(x: Result<usize, Box<()>>) -> usize { } // CHECK-LABEL: @extract_box -// CHECK-SAME: (i{{[0-9]+}} {{[^%]+}} [[DISCRIMINANT:%[0-9]+]], ptr {{[^,]+}} [[PAYLOAD:%[0-9]+]]) +// CHECK-SAME: (i{{[0-9]+}} {{[^%]+}} [[DISCRIMINANT:%[0-9]+]], ptr {{[^%]+}} [[PAYLOAD:%[0-9]+]]) #[no_mangle] pub unsafe fn extract_box(x: Result<usize, Box<i32>>) -> Box<i32> { // CHECK: ret ptr [[PAYLOAD]] |
