Home | History | Annotate | Download | only in X86
      1 ; RUN: llvm-as %s -o %t.o
      2 
      3 ; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so \
      4 ; RUN:    --plugin-opt=emit-llvm \
      5 ; RUN:    -shared %t.o -o %t2.o 2>&1 | FileCheck %s
      6 
      7 ; CHECK: Unable to determine comdat of alias!
      8 
      9 @g1 = global i32 1
     10 @g2 = global i32 2
     11 
     12 @a = alias i32, inttoptr(i32 sub (i32 ptrtoint (i32* @g1 to i32),
     13                                   i32 ptrtoint (i32* @g2 to i32)) to i32*)
     14