xref: /llvm-project/llvm/test/Assembler/invalid-label.ll (revision 576a9a2728505d81849e3a15cdbc70d398fb95c6)
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