llvm-project/llvm/test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll

10 lines
127 B
LLVM
Raw Normal View History

2008-03-19 15:28:33 +08:00
; RUN: llvm-as < %s | opt -lowerswitch
2003-08-24 06:43:42 +08:00
2008-03-19 15:28:33 +08:00
define void @test() {
switch i32 0, label %Next [
]
Next: ; preds = %0
2003-08-24 06:43:42 +08:00
ret void
}
2008-03-19 15:28:33 +08:00