repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Assembler
/
implicit-intrinsic-declaration-invalid2.ll
blob
99a3b07fb256448d2a5b8e0786128f67e3e8521c
1
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3
; Use of intrinsic as non-callee should be rejected.
4
5
; CHECK: error: intrinsic can only be used as callee
6
define void @test() {
7
call void @foo(ptr @llvm.umax)
8
ret void
9
}
10
11
declare void @foo(ptr)