Skip to content

Commit edd6b42

Browse files
authored
Rollup merge of #109181 - durin42:v0-mangle-inherit_overflow, 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 #106002 from December.
2 parents cd6d165 + 0b9b7dd commit edd6b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/codegen/inherit_overflow.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//[NOASSERT] compile-flags: -Coverflow-checks=off
55

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

0 commit comments

Comments
 (0)