mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +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
|
|
}
|
|
|