diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-15 17:00:11 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-16 16:29:35 +0000 |
| commit | 02424e4bc57344dc7436644f897b5500a1973242 (patch) | |
| tree | fbb9f0f8f6f8ce86254b9e75a44b49da00ca09a5 /tests/ui/consts/const-eval/raw-pointer-ub.rs | |
| parent | e7bdc5f9f869219e8d20060b42a09ea10a837851 (diff) | |
| download | rust-02424e4bc57344dc7436644f897b5500a1973242.tar.gz rust-02424e4bc57344dc7436644f897b5500a1973242.zip | |
Normalize alloc-id in tests.
Diffstat (limited to 'tests/ui/consts/const-eval/raw-pointer-ub.rs')
| -rw-r--r-- | tests/ui/consts/const-eval/raw-pointer-ub.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const-eval/raw-pointer-ub.rs b/tests/ui/consts/const-eval/raw-pointer-ub.rs index 2d09b5494c6..9b79a0a7d34 100644 --- a/tests/ui/consts/const-eval/raw-pointer-ub.rs +++ b/tests/ui/consts/const-eval/raw-pointer-ub.rs @@ -1,8 +1,8 @@ -// normalize-stderr-test "alloc\d+" -> "allocN" #![feature(const_pointer_byte_offsets)] #![feature(pointer_byte_offsets)] #![feature(const_mut_refs)] + const MISALIGNED_LOAD: () = unsafe { let mem = [0u32; 8]; let ptr = mem.as_ptr().byte_add(1); |
