1
Fork 0

fix codegen tests

This commit is contained in:
Ralf Jung 2020-02-15 21:37:53 +01:00
parent 94047f18c2
commit b6aaacd991

View file

@ -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;