Skip to content

Commit

Permalink
Rollup merge of rust-lang#109181 - durin42:v0-mangle-inherit_overflow…
Browse files Browse the repository at this point in the history
…, r=Nilstrieb

inherit_overflow: adapt pattern to also work with v0 mangling

This test was failing under new-symbol-mangling = true. Adapt pattern to work in both cases.

Related to rust-lang#106002 from December.
  • Loading branch information
matthiaskrgr committed Mar 17, 2023
2 parents 29f5f96 + 0b9b7dd commit 9ad5ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/codegen/inherit_overflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//[NOASSERT] compile-flags: -Coverflow-checks=off

// CHECK-LABEL: define{{.*}} @assertion
// ASSERT: call void @_ZN4core9panicking5panic17h
// ASSERT: call void @{{.*4core9panicking5panic}}
// NOASSERT: ret i8 0
#[no_mangle]
pub fn assertion() -> u8 {
Expand Down

0 comments on commit 9ad5ab7

Please sign in to comment.