llvm/test/Verifier/2002-04-13-RetTypes.ll
Chris Lattner cbec8be8f8 New testcase for the verifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2242 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-13 22:46:24 +00:00

10 lines
192 B
LLVM

; 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