xref: /llvm-project/llvm/test/Verifier/token6.ll (revision bcdaccfe3466dcce889596599de4a6188726a84e)
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
3define token @f() {
4entry:
5  ret token undef
6}
7; CHECK: Function returns a token but isn't an intrinsic
8