You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
10
external/llvm/test/Verifier/2002-11-05-GetelementptrPointers.ll
vendored
Normal file
10
external/llvm/test/Verifier/2002-11-05-GetelementptrPointers.ll
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
||||
; CHECK: invalid getelementptr indices
|
||||
|
||||
; This testcase is invalid because we are indexing into a pointer that is
|
||||
; contained WITHIN a structure.
|
||||
|
||||
define void @test({i32, i32*} * %X) {
|
||||
getelementptr {i32, i32*}, {i32, i32*} * %X, i32 0, i32 1, i32 0
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user