mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-26 13:36:28 +00:00
New testcase for bug
llvm-svn: 3102
This commit is contained in:
parent
789adc9192
commit
5dcc9d93a3
13
test/Regression/Assembler/2002-07-25-ReturnPtrFunction.llx
Normal file
13
test/Regression/Assembler/2002-07-25-ReturnPtrFunction.llx
Normal file
@ -0,0 +1,13 @@
|
||||
; Test that returning a pointer to a function causes the disassembler to print
|
||||
; the right thing.
|
||||
;
|
||||
; RUN: as < %s | dis | as
|
||||
|
||||
%ty = type void (int)
|
||||
|
||||
declare %ty* %foo()
|
||||
|
||||
void %test() {
|
||||
call %ty*()* %foo()
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue
Block a user