[PATCH] Test case for bug 20485

David Callahan dcallahan at fb.com
Wed Feb 4 10:39:08 PST 2015


narrow revision to test case


http://reviews.llvm.org/D7003

Files:
  test/Bitcode/bad-abbrev-record.txt
  test/Bitcode/bad-abbrev-record.txt.bc

Index: test/Bitcode/bad-abbrev-record.txt
===================================================================
--- /dev/null
+++ test/Bitcode/bad-abbrev-record.txt
@@ -0,0 +1,6 @@
+; RUN: not llvm-dis < %s.bc 2> %t1
+; RUN: FileCheck < %t1 %s
+
+; CHECK: LLVM ERROR: Invalid encoding
+
+http://llvm.org/bugs/show_bug.cgi?id=20485

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7003.19335.patch
Type: text/x-patch
Size: 329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150204/4d95a3b7/attachment.bin>


More information about the llvm-commits mailing list