aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/duplicate-internal.s
blob: d1ccf5322127d0e9b6eba88d157ae2c6ee0c7999 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# Should print an expected message in case of conflict with an internally generated symbol.

# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
# RUN: not ld.lld -shared %t.o -o %t.so 2>&1 | FileCheck %s

# CHECK: duplicate symbol: _gp in {{.*}} and (internal)

# REQUIRES: mips

  .globl  _gp
_gp = 0