bolt/deps/llvm-18.1.8/llvm/test/Verifier/token7.ll
2025-02-14 19:21:04 +01:00

8 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!