Testcase for PR340: Verifier misses malformed switch instruction

This testcase was reduced by John, thanks!

llvm-svn: 13617
This commit is contained in:
Chris Lattner 2004-05-21 16:47:02 +00:00
parent 0b21d7eec3
commit 9eaa64a9bd

View File

@ -0,0 +1,11 @@
int %main() {
start1:
switch uint 0, label %brt0 [int 3, label %brt1 ]
brt0:
ret int 0
brt1:
ret int 0
}