freebsd-nq/test/Assembler/2003-05-15-SwitchBug.ll

13 lines
220 B
LLVM
Raw Normal View History

2009-10-14 17:57:32 +00:00
; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s
2009-06-02 17:52:33 +00:00
; Check minimal switch statement
define void @test(i32 %X) {
switch i32 %X, label %dest [
]
dest: ; preds = %0
ret void
}