Sign in
llvm
/
llvm-project
/
llvm
/
refs/heads/master
/
.
/
test
/
Assembler
/
implicit-intrinsic-declaration-invalid3.ll
blob: ad5a96a6d85195cc7b3e5eea221da73b8e28d5bd [
file
] [
log
] [
blame
]
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; Use of unknown intrinsic without declaration should be rejected.
; CHECK: error: use of undefined value '@llvm.foobar'
define
void
@test
()
{
call
i8
@llvm.foobar
(
i8
0
,
i16
1
)
ret
void
}