aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/invalid-label-call-arg.ll
blob: 575ec6b05e38eef82d98fc8ef1645e1fc95a39bc (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llvm-as < %s 2>&1 | FileCheck %s

; CHECK: invalid type for function argument
define void @test() {
bb:
  call void asm "", ""(label %bb)
  ret void
}