llvm-mirror/test/Verifier/2004-05-21-SwitchConstantMismatch.ll

14 lines
156 B
LLVM
Raw Normal View History

2004-11-06 23:08:26 +00:00
; 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
}