llvm-6502/test/Transforms/SimplifyCFG/noreturn-call.ll
2009-09-08 22:34:10 +00:00

12 lines
223 B
LLVM

; RUN: opt %s -simplifycfg -S | grep unreachable
; PR1796
declare void @Finisher(i32) noreturn
define void @YYY(i32) {
tail call void @Finisher(i32 %0) noreturn
tail call void @Finisher(i32 %0) noreturn
ret void
}