From 1d871c5e547996a8dd5192e48d22aadf11cd2a9d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 25 Oct 2009 23:22:50 +0000 Subject: 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 --- test/CodeGen/CPP/llvm2cpp.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/CodeGen/CPP') diff --git a/test/CodeGen/CPP/llvm2cpp.ll b/test/CodeGen/CPP/llvm2cpp.ll index 447f332..d0ba0cf 100644 --- a/test/CodeGen/CPP/llvm2cpp.ll +++ b/test/CodeGen/CPP/llvm2cpp.ll @@ -273,7 +273,7 @@ define i32 @foozball(i32) { @A = global i32* @B ; [#uses=0] @B = global i32 7 ; [#uses=1] -define void @X() { +define void @test12312() { ret void } ; ModuleID = 'global_section.ll' -- cgit v1.1