xref: /llvm-project/llvm/test/Instrumentation/AddressSanitizer/asan-struct-scalable.ll (revision e9dd6b2a5332a2540849dc8366b00b17ab134c3f)
1; RUN: opt -passes=asan -disable-output -S %s
2; Check not crash.
3
4define void @test() #0 {
5entry:
6  %t0 = alloca { <vscale x 2 x i32>, <vscale x 2 x i32> }, align 4
7  call void null(ptr null, ptr %t0, i64 0)
8  ret void
9}
10
11attributes #0 = { sanitize_address }
12