Attempt to fix uninitialized SDAG persistent ids detected by MSan
[oota-llvm.git] / test / Bitcode / invalid.test
index 24ccd8bccd5bd86ec9cb2167e28b761becaba2c5..3425adc841003ee8a126f76cdd742a614879aeb5 100644 (file)
@@ -212,3 +212,8 @@ RUN: not llvm-dis -disable-output %p/Inputs/invalid-no-function-block.bc 2>&1 |
 RUN:   FileCheck --check-prefix=NO-FUNCTION-BLOCK %s
 
 NO-FUNCTION-BLOCK: Trying to materialize functions before seeing function blocks
+
+RUN: not llvm-dis -disable-output %p/Inputs/invalid-name-with-0-byte.bc 2>&1 | \
+RUN:   FileCheck --check-prefix=NAME-WITH-0 %s
+
+NAME-WITH-0: Invalid value name