summaryrefslogtreecommitdiffstats
path: root/test/Assembler/2003-05-15-SwitchBug.ll
blob: 748ef7a513ccbcf3c27e616ea089f87f29a8d7b1 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f

; Check minimal switch statement

void %test(int %X) {
  switch int %X, label %dest []
dest:
  ret void
}