]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/duplicate-internal.s
Vendor import of lld release_39 branch r288513:
[FreeBSD/FreeBSD.git] / test / ELF / duplicate-internal.s
1 # Should print an expected message in case of conflict with an internally generated symbol.
2
3 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
4 # RUN: not ld.lld -shared %t.o -o %t.so 2>&1 | FileCheck %s
5
6 # CHECK: duplicate symbol: _gp in {{.*}} and (internal)
7
8 # REQUIRES: mips
9
10   .globl  _gp
11 _gp = 0