llvm-project/llvm/test/Verifier/token6.ll

8 lines
161 B
LLVM

; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
define token @f() {
entry:
ret token undef
}
; CHECK: Functions returns a token but isn't an intrinsic