Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git] / test / Feature / testtype.ll
blobcdeb5a017cfa57772261baf50f10bbd3b01e8a8f
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
5 %X = type i32* addrspace(4)*
7         %inners = type { float, { i8 } }
8         %struct = type { i32, %inners, i64 }
10 %fwd    = type %fwdref*
11 %fwdref = type { %fwd* }
13 ; same as above with unnamed types
14 %1 = type %0* 
15 %test = type %1
16 %0 = type { %1* }
18 %test2 = type [2 x i32]
19 ;%x = type %undefined*
21 %test3 = type i32 (i32()*, float(...)*, ...)*