Index: tests_lit/parse_errs/bad-switch-case.test |
diff --git a/tests_lit/parse_errs/bad-switch-case.test b/tests_lit/parse_errs/bad-switch-case.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b8d090a18899ac7d79b21fc8eddaa6652a2b1866 |
--- /dev/null |
+++ b/tests_lit/parse_errs/bad-switch-case.test |
@@ -0,0 +1,6 @@ |
+; REQUIRES: no_minimal_build |
+; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/bad-switch-case.tbc \ |
+; RUN: -bitcode-format=pnacl -notranslate -build-on-read 2>&1 \ |
+; RUN: | FileCheck -check-prefix=BAD-SWITCH-CASE %s |
+ |
+; BAD-SWITCH-CASE: Reference to basic block 3105555534 not found. Must be less than 6 |