YouCompleteMe/cpp/llvm/test/Verifier/2004-05-21-SwitchConstantMismatch.ll

14 lines
155 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: not llvm-as < %s >& /dev/null
int %main() {
start1:
switch uint 0, label %brt0 [int 3, label %brt1 ]
brt0:
ret int 0
brt1:
ret int 0
}