aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/unnamed-addr1-b.ll
blob: aa1507b9c6b38860f4f7a1355203e36dd339e1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; 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

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

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