diff options
Diffstat (limited to 'test/Verifier/2004-05-21-SwitchConstantMismatch.ll')
-rw-r--r-- | test/Verifier/2004-05-21-SwitchConstantMismatch.ll | 13 |
1 files changed, 13 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 0000000..e965c6d --- /dev/null +++ b/test/Verifier/2004-05-21-SwitchConstantMismatch.ll @@ -0,0 +1,13 @@ +; RUN: not llvm-as -f %s -o /dev/null + + + +int %main() { +start1: + switch uint 0, label %brt0 [int 3, label %brt1 ] +brt0: + ret int 0 +brt1: + ret int 0 +} + |