fix PR5295 where the .ll parser didn't reject a function after a global
authorChris Lattner <sabre@nondot.org>
Sun, 25 Oct 2009 23:22:50 +0000 (23:22 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 25 Oct 2009 23:22:50 +0000 (23:22 +0000)
commit1d871c5e547996a8dd5192e48d22aadf11cd2a9d
tree63629562e6b5d6efb35e15a44a8b8dad7a755c8c
parent22bbd9b9b89806fa9099442f8892f4e970ca54e9
fix PR5295 where the .ll parser didn't reject a function after a global
or global after a function with conflicting names.  Update some testcases
that were accidentally depending on this behavior.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85081 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
test/CodeGen/CPP/llvm2cpp.ll
test/CodeGen/X86/x86-64-pic-10.ll