mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +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
|