; RUN: llvm-link %s -S -o - | FileCheck %s

@g1 = global void()* @f2
; CHECK: @g1 = global void ()* @f2

@p1 = global i8 42
; CHECK: @p1 = global i8 42

@p2 = internal global i8 43
; CHECK: @p2 = internal global i8 43

define void @f1() prologue i8* @p1 {
  ret void
}
; CHECK: define void @f1() prologue i8* @p1 {

define internal void @f2() prologue i8* @p2 {
  ret void
}

; CHECK: define internal void @f2() prologue i8* @p2 {

; RUN: llvm-link %s -S -o - | FileCheck %s

@g1 = global void()* @f2
; CHECK-DAG: @g1 = global void ()* @f2

@p1 = global i8 42
; CHECK-DAG: @p1 = global i8 42

@p2 = internal global i8 43
; CHECK-DAG: @p2 = internal global i8 43

define void @f1() prologue i8* @p1 {
  ret void
}
; CHECK-DAG: define void @f1() prologue i8* @p1 {

define internal void @f2() prologue i8* @p2 {
  ret void
}

; CHECK-DAG: define internal void @f2() prologue i8* @p2 {

Make this test less strict.
Make this test less strict.

We just want to test what is copied, no the order.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@254255 91177308-0d34-0410-b5e6-96231b3b80d8
