xref: /llvm-project/llvm/test/Feature/testtype.ll (revision 1842a2909e80da9432c5d79a95ec2c331bd99744)
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
5%X = type ptr addrspace(4)
6
7        %inners = type { float, { i8 } }
8        %struct = type { i32, %inners, i64 }
9
10%fwd    = type ptr
11%fwdref = type { ptr }
12
13; same as above with unnamed types
14%1 = type ptr
15%test = type %1
16%0 = type { ptr }
17
18%test2 = type [2 x i32]
19;%x = type ptr
20
21%test3 = type ptr
22