1 ; RUN: llvm-link %s -S -o - | FileCheck %s
2 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
3 target triple = "x86_64-apple-macosx10.9"
5 ; CHECK-DAG: @gv0 = constant ptr @alias
6 ; CHECK-DAG: @gv1 = constant i64 ptrtoint (ptr @gv1 to i64)
7 ; CHECK-DAG: @alias = alias i64, ptr @gv1
9 @gv0 = constant ptr @alias
10 @gv1 = constant i64 ptrtoint (ptr @gv1 to i64)
12 @alias = alias i64, ptr @gv1