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
/
2002-07-25-ReturnPtrFunction.ll
blob
5717034008831be4f16bc16d63bba6864efcf7c6
1
; Test that returning a pointer to a function causes the disassembler to print
2
; the right thing.
3
;
4
; RUN: llvm-as < %s | llvm-dis | llvm-as
5
; RUN: verify-uselistorder %s
6
7
declare ptr @foo()
8
9
define void @test() {
10
call ptr () @foo( ) ; <ptr>:1 [#uses=0]
11
ret void
12
}
13
14