blob: 33dc63610aae31694713d6ade4f532e45f11402a [file] [log] [blame]
Owen Anderson0923ca22015-03-02 05:25:09 +00001; 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