[bitcode reader] Fix an assert on invalid type tables
[oota-llvm.git] / test / Bitcode / function-encoding-rel-operands.ll
index aedb0c32676f8efe8e508b37177aec3838f287ca..24d6d80828619485dcf4ff781d2a2f100da136f6 100644 (file)
@@ -1,6 +1,7 @@
 ; Basic sanity test to check that instruction operands are encoded with
 ; relative IDs.
 ; RUN: llvm-as < %s | llvm-bcanalyzer -dump | FileCheck %s
+; RUN: verify-uselistorder < %s
 
 ; CHECK: FUNCTION_BLOCK
 ; CHECK: INST_BINOP {{.*}}op0=1 op1=1
@@ -47,3 +48,5 @@ entry:
   %2 = icmp eq i32 %1, %a
   ret i1 %2
 }
+
+; CHECK: Stream type: LLVM IR