llvm-project/llvm/test/Assembler/2003-05-15-SwitchBug.ll

13 lines
248 B
LLVM
Raw Normal View History

; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order
; Check minimal switch statement
2008-02-14 15:57:12 +08:00
define void @test(i32 %X) {
switch i32 %X, label %dest [
]
dest: ; preds = %0
ret void
}