aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2003-05-15-SwitchBug.ll
blob: 3768d9c9a677cd6808547c0cc485a855f80dd555 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as %s -o /dev/null

; Check minimal switch statement

define void @test(i32 %X) {
        switch i32 %X, label %dest [
        ]

dest:           ; preds = %0
        ret void
}