aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Verifier/2004-05-21-SwitchConstantMismatch.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Verifier/2004-05-21-SwitchConstantMismatch.ll b/test/Verifier/2004-05-21-SwitchConstantMismatch.ll
new file mode 100644
index 0000000000..b5fa4895bb
--- /dev/null
+++ b/test/Verifier/2004-05-21-SwitchConstantMismatch.ll
@@ -0,0 +1,11 @@
+
+
+int %main() {
+start1:
+ switch uint 0, label %brt0 [int 3, label %brt1 ]
+brt0:
+ ret int 0
+brt1:
+ ret int 0
+}
+