| David Majnemer | b611e3f | 2015-08-14 05:09:07 +0000 | [diff] [blame] | 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! | ||||