repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implement bswap
[llvm/msp430.git]
/
test
/
Assembler
/
2002-07-25-ReturnPtrFunction.ll
blob
515d105c14c68372567ba89e96b4eac670a01b65
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
6
%ty = type void (i32)
7
8
declare %ty* @foo()
9
10
define void @test() {
11
call %ty* ()* @foo( ) ; <%ty*>:1 [#uses=0]
12
ret void
13
}
14
15