2 target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
3 target triple = "x86_64-apple-macosx10.11.0"
5 define void @referencedbyglobal() {
9 define internal void @localreferencedbyglobal() {
13 @someglobal = internal unnamed_addr constant ptr @referencedbyglobal
14 @someglobal2 = internal unnamed_addr constant ptr @localreferencedbyglobal
15 @ptr = global ptr null
16 @ptr2 = global ptr null
18 define void @bar() #0 align 2 {
19 store ptr @someglobal , ptr @ptr, align 8
20 store ptr @someglobal2 , ptr @ptr2, align 8