blob: 939878cc4275acd7227dcde8c2dbc4c8a775e9d4 [file] [log] [blame]
David Majnemer2dacece2015-08-14 05:09:07 +00001; 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!