; This file is for use with unnamed-addr1-a.ll
; RUN: true

@global-c = common unnamed_addr global i32 42
@global-d = unnamed_addr global i32 42
@global-e = unnamed_addr global i32 42
@global-f = unnamed_addr global i32 42

@alias-a =  unnamed_addr alias i32* @global-f
@alias-b =  unnamed_addr alias i32* @global-f

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-h = global i32 42
@global-i = global i32 42
@global-j = global i32 42

@alias-c =  alias i32* @global-f
@alias-d =  alias i32* @global-f

define weak void @func-g() { ret void }
define weak void @func-h() { ret void }
define weak void @func-i() { ret void }

; This file is for use with unnamed-addr1-a.ll
; RUN: true

@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

@alias-a =  unnamed_addr alias i32* @global-f
@alias-b =  unnamed_addr alias i32* @global-f

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 0
@global-h = global i32 42
@global-i = global i32 42
@global-j = global i32 42

@alias-c =  alias i32* @global-f
@alias-d =  alias i32* @global-f

define weak void @func-g() { ret void }
define weak void @func-h() { ret void }
define weak void @func-i() { ret void }

Make this input file pass the verifier.
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.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@217450 91177308-0d34-0410-b5e6-96231b3b80d8
