diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-01-02 14:41:08 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2024-01-02 15:03:14 +0100 |
| commit | 8e64fc94d895b570e80db8edc3e3ef265e19db8c (patch) | |
| tree | e3931508de0d57a4a5c85eed98a618252779029b /tests/codegen | |
| parent | c2fd26a115645c92537719b1a04270e1ba727cbf (diff) | |
| download | rust-8e64fc94d895b570e80db8edc3e3ef265e19db8c.tar.gz rust-8e64fc94d895b570e80db8edc3e3ef265e19db8c.zip | |
Address review comments
Diffstat (limited to 'tests/codegen')
| -rw-r--r-- | tests/codegen/zst-offset.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/zst-offset.rs b/tests/codegen/zst-offset.rs index cef4b9bdaaf..56dfd96ab2c 100644 --- a/tests/codegen/zst-offset.rs +++ b/tests/codegen/zst-offset.rs @@ -22,7 +22,7 @@ pub fn scalar_layout(s: &(u64, ())) { // CHECK-LABEL: @scalarpair_layout #[no_mangle] pub fn scalarpair_layout(s: &(u64, u32, ())) { -// CHECK: getelementptr i8, {{.+}}, [[USIZE]] 12 +// CHECK: getelementptr inbounds i8, {{.+}}, [[USIZE]] 12 let x = &s.2; witness(&x); // keep variable in an alloca } |
