1; RUN: not llvm-as < %s >/dev/null 2> %t
2; RUN: FileCheck %s < %t
3; Test the case where an invalid label name is used
4
5; CHECK: unable to create block named 'bb'
6
7define void @test(label %bb) {
8bb:
9  ret void
10}
11
12