llvm-for-llvmta/test/Assembler/invalid-label.ll

12 lines
212 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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
}