mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-30 07:33:23 +00:00
4572ce85b0
llvm-svn: 33296
14 lines
250 B
Plaintext
14 lines
250 B
Plaintext
; Test that returning a pointer to a function causes the disassembler to print
|
|
; the right thing.
|
|
;
|
|
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as
|
|
|
|
%ty = type void (int)
|
|
|
|
declare %ty* %foo()
|
|
|
|
void %test() {
|
|
call %ty*()* %foo()
|
|
ret void
|
|
}
|