mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
12 lines
212 B
LLVM
12 lines
212 B
LLVM
|
; 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
|
||
|
}
|
||
|
|