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