mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
2393a24fed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
231 B
LLVM
12 lines
231 B
LLVM
; RUN: not llvm-as -f %s -o /dev/null
|
|
|
|
; Verify the the operand type of the ret instructions in a function match the
|
|
; delcared return type of the function they live in.
|
|
;
|
|
implementation
|
|
|
|
uint "testfunc"()
|
|
begin
|
|
ret int* null
|
|
end
|