8625704ad8
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
9 lines
176 B
LLVM
9 lines
176 B
LLVM
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
define void @f() {
|
|
entry:
|
|
call token () undef ()
|
|
ret void
|
|
}
|
|
; CHECK: Return type cannot be token for indirect call!
|