llvm-6502/test/Verifier/2002-04-13-RetTypes.ll

12 lines
231 B
LLVM
Raw Normal View History

; 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