1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Make this input file pass the verifier.

This was not noticed before because llvm-link only runs the verifier on the
result and these globals were not present in the result.

llvm-svn: 217450
This commit is contained in:
Rafael Espindola 2014-09-09 15:40:12 +00:00
parent b1c893a6b6
commit 0946a33225

View File

@ -1,7 +1,7 @@
; This file is for use with unnamed-addr1-a.ll
; RUN: true
@global-c = common unnamed_addr global i32 42
@global-c = common unnamed_addr global i32 0
@global-d = unnamed_addr global i32 42
@global-e = unnamed_addr global i32 42
@global-f = unnamed_addr global i32 42
@ -13,7 +13,7 @@ define weak void @func-c() unnamed_addr { ret void }
define weak void @func-d() unnamed_addr { ret void }
define weak void @func-e() unnamed_addr { ret void }
@global-g = common global i32 42
@global-g = common global i32 0
@global-h = global i32 42
@global-i = global i32 42
@global-j = global i32 42