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