diff --git a/test/Bitcode/null-type.ll b/test/Bitcode/null-type.ll new file mode 100644 index 00000000000..5d3dfab5753 --- /dev/null +++ b/test/Bitcode/null-type.ll @@ -0,0 +1,2 @@ +; RUN: not llvm-dis < %s.bc > /dev/null |& grep "Invalid MODULE_CODE_FUNCTION record" +; PR8494 diff --git a/test/Bitcode/null-type.ll.bc b/test/Bitcode/null-type.ll.bc new file mode 100644 index 00000000000..f0a97d94ce9 Binary files /dev/null and b/test/Bitcode/null-type.ll.bc differ