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

define token @f() {
entry:
  ret token undef
}
; CHECK: Function returns a token but isn't an intrinsic