Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1747)

Unified Diff: tests_lit/parse_errs/bad-switch-case.test

Issue 1303003002: Fix handling unknown branches when parsing switch instructions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nit. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests_lit/parse_errs/Inputs/bad-switch-case.tbc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « tests_lit/parse_errs/Inputs/bad-switch-case.tbc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698