mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
986b92fd8e
llvm-svn: 216022
15 lines
312 B
LLVM
15 lines
312 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
|
|
|
|
declare void (i32)* @foo()
|
|
|
|
define void @test() {
|
|
call void (i32)* ()* @foo( ) ; <%ty*>:1 [#uses=0]
|
|
ret void
|
|
}
|
|
|
|
|