fix codegen tests
This commit is contained in:
parent
94047f18c2
commit
b6aaacd991
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ pub fn test1(s: &mut S) {
|
|||
|
||||
// CHECK-LABEL: @test2
|
||||
// CHECK: store i32 4, i32* %{{.+}}, align 4
|
||||
#[allow(const_err)]
|
||||
#[allow(panic)]
|
||||
#[no_mangle]
|
||||
pub fn test2(s: &mut S) {
|
||||
s.arr[usize::MAX / 4 + 1] = 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue