mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 14:15:53 +00:00
0923ca275b
Previous it would either assert in +Asserts, or crash in -Asserts. Found by fuzzing LLParser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230935 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|
|
|