reject forward references to functions whose type don't match
authorChris Lattner <sabre@nondot.org>
Sat, 17 Apr 2010 20:45:56 +0000 (20:45 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 17 Apr 2010 20:45:56 +0000 (20:45 +0000)
commit77e80deabcdbb84b9dbc76152ecc4d606aec0bfd
tree466052e1cff8893272af8c2f589374498ffee38d
parentb5f6af644ebe504479a74341ae8b0c706e7a5fcc
reject forward references to functions whose type don't match
up with the definition (and fix a broken testcase).  PR6491.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101670 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
test/Bitcode/memcpy.ll