mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-01 16:26:29 +00:00
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
This commit is contained in:
@@ -273,7 +273,7 @@ define i32 @foozball(i32) {
|
||||
@A = global i32* @B ; <i32**> [#uses=0]
|
||||
@B = global i32 7 ; <i32*> [#uses=1]
|
||||
|
||||
define void @X() {
|
||||
define void @test12312() {
|
||||
ret void
|
||||
}
|
||||
; ModuleID = 'global_section.ll'
|
||||
|
Reference in New Issue
Block a user