llvm-mirror/test/Assembler/2003-05-15-SwitchBug.ll
Duncan P. N. Exon Smith 986b92fd8e verify-uselistorder: Force -preserve-bc-use-list-order
llvm-svn: 216022
2014-08-19 21:08:27 +00:00

13 lines
220 B
LLVM

; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s
; Check minimal switch statement
define void @test(i32 %X) {
switch i32 %X, label %dest [
]
dest: ; preds = %0
ret void
}