Skip to content

Commit

Permalink
Make sure we don't match noalias in later lines
Browse files Browse the repository at this point in the history
  • Loading branch information
r-raymond committed Jun 19, 2022
1 parent cb20e25 commit 43c6f9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/codegen/noalias-rwlockreadguard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ use std::sync::RwLockReadGuard;

// CHECK-LABEL: @maybe_aliased(
// CHECK-NOT: noalias
// CHECK-SAME: %_data
#[no_mangle]
pub unsafe fn maybe_aliased(_: RwLockReadGuard<'_, i32>, _data: &UnsafeCell<i32>) {}

0 comments on commit 43c6f9c

Please sign in to comment.