repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git]
/
llvm
/
test
/
Verifier
/
recursive-type-3.ll
blob
e14c015ce01c7006de55114e37f6c14082918a34
1
; RUN: llvm-as %s -o /dev/null 2>&1
2
3
%rt2 = type { i32, { i8, ptr, i8 }, i32 }
4
5
define i32 @main() nounwind {
6
entry:
7
; Check that linked-list-style recursive types where the recursion is through
8
; a pointer of the type is valid for an alloca.
9
%0 = alloca %rt2
10
ret i32 0
11
}