Skip to content

Commit 93ed30b

Browse files
committed
Fix issue-111603 codegen test
1 parent 298b78d commit 93ed30b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/codegen/issues/issue-111603.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub fn new_from_array(x: u64) -> Arc<[u64]> {
2020
// CHECK-LABEL: @new_uninit
2121
#[no_mangle]
2222
pub fn new_uninit(x: u64) -> Arc<[u64; 1000]> {
23-
// CHECK-NOT: call alloc::raw_rc::RcLayout::from_value_layout
23+
// CHECK-NOT: call {{<?alloc::raw_rc::RcLayout>?}}::from_value_layout
2424
let mut arc = Arc::new_uninit();
2525
unsafe { Arc::get_mut_unchecked(&mut arc) }.write([x; 1000]);
2626
unsafe { arc.assume_init() }
@@ -29,8 +29,8 @@ pub fn new_uninit(x: u64) -> Arc<[u64; 1000]> {
2929
// CHECK-LABEL: @new_uninit_slice
3030
#[no_mangle]
3131
pub fn new_uninit_slice(x: u64) -> Arc<[u64]> {
32-
// CHECK: call alloc::raw_rc::RcLayout::from_value_layout
33-
// CHECK-NOT: call alloc::raw_rc::RcLayout::from_value_layout
32+
// CHECK: call {{<?alloc::raw_rc::RcLayout>?}}::from_value_layout
33+
// CHECK-NOT: call {{<?alloc::raw_rc::RcLayout>?}}::from_value_layout
3434
let mut arc = Arc::new_uninit_slice(1000);
3535
for elem in unsafe { Arc::get_mut_unchecked(&mut arc) } {
3636
elem.write(x);

0 commit comments

Comments
 (0)