1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-27 13:30:05 +00:00
llvm-6502/test/Assembler/2002-07-25-ReturnPtrFunction.llx
2003-09-15 20:02:53 +00:00

14 lines
235 B
Plaintext

; Test that returning a pointer to a function causes the disassembler to print
; the right thing.
;
; RUN: llvm-as < %s | llvm-dis | llvm-as
%ty = type void (int)
declare %ty* %foo()
void %test() {
call %ty*()* %foo()
ret void
}