mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
Testcase for PR340: Verifier misses malformed switch instruction
This testcase was reduced by John, thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2fb006ecb
commit
6d09becf08
11
test/Verifier/2004-05-21-SwitchConstantMismatch.ll
Normal file
11
test/Verifier/2004-05-21-SwitchConstantMismatch.ll
Normal 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user