2011-01-13 06:12:34 +01:00
|
|
|
; This file is for use with unnamed-addr1-a.ll
|
|
|
|
; RUN: true
|
|
|
|
|
2014-09-09 17:40:12 +02:00
|
|
|
@global-c = common unnamed_addr global i32 0
|
2013-09-04 16:40:49 +02:00
|
|
|
@global-d = unnamed_addr global i32 42
|
|
|
|
@global-e = unnamed_addr global i32 42
|
|
|
|
@global-f = unnamed_addr global i32 42
|
2011-01-15 09:15:00 +01:00
|
|
|
|
2015-09-11 05:22:04 +02:00
|
|
|
@alias-a = unnamed_addr alias i32, i32* @global-f
|
|
|
|
@alias-b = unnamed_addr alias i32, i32* @global-f
|
2014-06-06 03:20:28 +02:00
|
|
|
|
2013-09-04 16:59:03 +02:00
|
|
|
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 }
|
|
|
|
|
2014-09-09 17:40:12 +02:00
|
|
|
@global-g = common global i32 0
|
2013-09-04 16:40:49 +02:00
|
|
|
@global-h = global i32 42
|
|
|
|
@global-i = global i32 42
|
|
|
|
@global-j = global i32 42
|
2013-09-04 16:59:03 +02:00
|
|
|
|
2015-09-11 05:22:04 +02:00
|
|
|
@alias-c = alias i32, i32* @global-f
|
|
|
|
@alias-d = alias i32, i32* @global-f
|
2014-06-06 03:20:28 +02:00
|
|
|
|
2013-09-04 16:59:03 +02:00
|
|
|
define weak void @func-g() { ret void }
|
|
|
|
define weak void @func-h() { ret void }
|
|
|
|
define weak void @func-i() { ret void }
|