projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Revert 42908 for now.
[oota-llvm.git]
/
test
/
Assembler
/
2002-07-25-ReturnPtrFunction.llx
1
; Test that returning a pointer to a function causes the disassembler to print
2
; the right thing.
3
;
4
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as
5
6
%ty = type void (int)
7
8
declare %ty* %foo()
9
10
void %test() {
11
call %ty*()* %foo()
12
ret void
13
}