diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-01-05 11:45:57 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2024-01-05 11:45:57 +0100 |
| commit | 3cd6cde0be33faf0296ead23141e06b2d0740894 (patch) | |
| tree | d0e91b71259356dd66f1988413c4de3d2d452975 /tests/codegen | |
| parent | 8e64fc94d895b570e80db8edc3e3ef265e19db8c (diff) | |
| download | rust-3cd6cde0be33faf0296ead23141e06b2d0740894.tar.gz rust-3cd6cde0be33faf0296ead23141e06b2d0740894.zip | |
Make test compatible with 32-bit as well
Diffstat (limited to 'tests/codegen')
| -rw-r--r-- | tests/codegen/personality_lifetimes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/personality_lifetimes.rs b/tests/codegen/personality_lifetimes.rs index 725337a2852..e2bc0ebcb37 100644 --- a/tests/codegen/personality_lifetimes.rs +++ b/tests/codegen/personality_lifetimes.rs @@ -24,7 +24,7 @@ pub fn test() { let _s = S; // Check that the personality slot alloca gets a lifetime start in each cleanup block, not just // in the first one. - // CHECK: [[SLOT:%[0-9]+]] = alloca { ptr, i32, [1 x i32] } + // CHECK: [[SLOT:%[0-9]+]] = alloca { ptr, i32{{.*}} } // CHECK-LABEL: cleanup: // CHECK: call void @llvm.lifetime.start.{{.*}}({{.*}}) // CHECK-LABEL: cleanup1: |
