Add a test for the -suppress-warnings option.
[oota-llvm.git] / test / Feature / testtype.ll
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 i32* addrspace(4)*
6
7         %inners = type { float, { i8 } }
8         %struct = type { i32, %inners, i64 }
9
10 %fwd    = type %fwdref*
11 %fwdref = type { %fwd* }
12
13 ; same as above with unnamed types
14 %1 = type %0* 
15 %test = type %1
16 %0 = type { %1* }
17
18 %test2 = type [2 x i32]
19 ;%x = type %undefined*
20
21 %test3 = type i32 (i32()*, float(...)*, ...)*