recursive-type-3.ll 282 B

1234567891011
  1. ; RUN: llvm-as %s -o /dev/null 2>&1
  2. %rt2 = type { i32, { i8, %rt2*, i8 }, i32 }
  3. define i32 @main() nounwind {
  4. entry:
  5. ; Check that linked-list-style recursive types where the recursion is through
  6. ; a pointer of the type is valid for an alloca.
  7. %0 = alloca %rt2
  8. ret i32 0
  9. }