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

; Check minimal switch statement

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

dest:           ; preds = %0
        ret void
}