aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Verifier/token7.ll
blob: 939878cc4275acd7227dcde8c2dbc4c8a775e9d4 (plain)
1
2
3
4
5
6
7
8
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s

define void @f() {
entry:
  call token () undef ()
  ret void
}
; CHECK: Return type cannot be token for indirect call!