Home | History | Annotate | Download | only in Linker
      1 ; RUN: llvm-link %s -S -o - | FileCheck %s
      2 
      3 $c = comdat any
      4 @a = alias void (), void ()* @f
      5 define internal void @f() comdat($c) {
      6   ret void
      7 }
      8 
      9 ; CHECK-DAG: $c = comdat any
     10 ; CHECK-DAG: @a = alias void (), void ()* @f
     11 ; CHECK-DAG: define internal void @f() comdat($c)
     12 
     13 $f2 = comdat largest
     14 define internal void @f2() comdat($f2) {
     15   ret void
     16 }
     17 define void @f3() comdat($f2) {
     18   ret void
     19 }
     20 
     21 ; CHECK-DAG: $f2 = comdat largest
     22 ; CHECK-DAG: define internal void @f2() comdat {
     23