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:
parent
e4b9f86054
commit
0b9b7dd5c6
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue