YouCompleteMe/cpp/llvm/test/Assembler/2003-05-15-SwitchBug.ll

12 lines
190 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: llvm-as %s -o /dev/null
; Check minimal switch statement
define void @test(i32 %X) {
switch i32 %X, label %dest [
]
dest: ; preds = %0
ret void
}