repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
Assembler
/
unsized-recursive-type.ll
blob
b6d93fa19fe2404345c33da2f34a6be55b851c7b
1
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3
; CHECK: base element of getelementptr must be sized
4
5
%myTy = type { %myTy }
6
define void @foo(%myTy* %p){
7
%0 = getelementptr %myTy, %myTy* %p, i32 0
8
ret void
9
}