Owen Anderson | 0923ca2 | 2015-03-02 05:25:09 +0000 | [diff] [blame] | 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 | |||||
7 | define void @test(label %bb) { | ||||
8 | bb: | ||||
9 | ret void | ||||
10 | } | ||||
11 |