aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Linker/alias-3.ll
blob: ff8d6a60922e292b1949f530a0550f0f7dad9330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-link %s -S -o - | FileCheck %s
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.9"

; CHECK-DAG: @A = internal constant i8 1
; CHECK-DAG: @B = alias i8, ptr @A
; CHECK-DAG: @C = global [2 x ptr] [ptr @A, ptr @B]

@A = internal constant i8 1
@B = alias i8, ptr @A
@C = global [2 x ptr] [ptr @A, ptr @B]