testtype.ll 460 B

123456789101112131415161718192021
  1. ; RUN: llvm-as < %s | llvm-dis > %t1.ll
  2. ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
  3. ; RUN: diff %t1.ll %t2.ll
  4. %X = type i32* addrspace(4)*
  5. %inners = type { float, { i8 } }
  6. %struct = type { i32, %inners, i64 }
  7. %fwd = type %fwdref*
  8. %fwdref = type { %fwd* }
  9. ; same as above with unnamed types
  10. %1 = type %0*
  11. %test = type %1
  12. %0 = type { %1* }
  13. %test2 = type [2 x i32]
  14. ;%x = type %undefined*
  15. %test3 = type i32 (i32()*, float(...)*, ...)*