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.
This commit is contained in:
commit
edd6b42565
@ -4,7 +4,7 @@
|
|||||||
//[NOASSERT] compile-flags: -Coverflow-checks=off
|
//[NOASSERT] compile-flags: -Coverflow-checks=off
|
||||||
|
|
||||||
// CHECK-LABEL: define{{.*}} @assertion
|
// CHECK-LABEL: define{{.*}} @assertion
|
||||||
// ASSERT: call void @_ZN4core9panicking5panic17h
|
// ASSERT: call void @{{.*4core9panicking5panic}}
|
||||||
// NOASSERT: ret i8 0
|
// NOASSERT: ret i8 0
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn assertion() -> u8 {
|
pub fn assertion() -> u8 {
|
||||||
|
Loading…
Reference in New Issue
Block a user