xref: /llvm-project/llvm/test/Verifier/token7.ll (revision b611e3f50e6c9fb564864e437ad8fd26809f0a19)
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
3define void @f() {
4entry:
5  call token () undef ()
6  ret void
7}
8; CHECK: Return type cannot be token for indirect call!
9