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

10 lines
127 B
LLVM

; RUN: llvm-as < %s | opt -lowerswitch
define void @test() {
switch i32 0, label %Next [
]
Next: ; preds = %0
ret void
}