Skip to content

Commit 0b9b7dd

Browse files
committed
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.
1 parent e4b9f86 commit 0b9b7dd

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)