Home | History | Annotate | Download | only in Linker
      1 ; RUN: llvm-link %s -S -o - | FileCheck %s
      2 
      3 @g1 = global void()* @f2
      4 ; CHECK-DAG: @g1 = global void ()* @f2
      5 
      6 @p1 = global i8 42
      7 ; CHECK-DAG: @p1 = global i8 42
      8 
      9 @p2 = internal global i8 43
     10 ; CHECK-DAG: @p2 = internal global i8 43
     11 
     12 define void @f1() prologue i8* @p1 {
     13   ret void
     14 }
     15 ; CHECK-DAG: define void @f1() prologue i8* @p1 {
     16 
     17 define internal void @f2() prologue i8* @p2 {
     18   ret void
     19 }
     20 
     21 ; CHECK-DAG: define internal void @f2() prologue i8* @p2 {
     22