1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/Assembler/2002-07-25-ReturnPtrFunction.ll
Duncan P. N. Exon Smith d5508bfe28 verify-uselistorder: Change the default -num-shuffles=5
Change the default for `-num-shuffles` to 5 and better document the
algorithm in the header docs of `verify-uselistorder`.

llvm-svn: 214419
2014-07-31 18:46:24 +00:00

15 lines
340 B
LLVM

; Test that returning a pointer to a function causes the disassembler to print
; the right thing.
;
; RUN: llvm-as < %s | llvm-dis | llvm-as
; RUN: verify-uselistorder %s -preserve-bc-use-list-order
declare void (i32)* @foo()
define void @test() {
call void (i32)* ()* @foo( ) ; <%ty*>:1 [#uses=0]
ret void
}