aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-label.ll
blob: 33dc63610aae31694713d6ade4f532e45f11402a (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: not llvm-as < %s >/dev/null 2> %t
; RUN: FileCheck %s < %t
; Test the case where an invalid label name is used

; CHECK: unable to create block named 'bb'

define void @test(label %bb) {
bb:
  ret void
}