1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-02-27 17:31:33 +00:00
llvm-6502/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll

14 lines
299 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | opt -loop-deletion | llvm-dis | grep switch
; PR 1564
define fastcc void @out() {
start:
br label %loop
unreachable:
unreachable
loop:
switch i32 0, label %unreachable [
i32 0, label %loop
]
}