2009-09-08 16:50:01 +00:00
|
|
|
; RUN: opt %s -simplifycfg | llvm-dis | grep unreachable
|
2007-11-14 06:19:25 +00:00
|
|
|
; 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
|
|
|
|
}
|
|
|
|
|