brintos

brintos / llvm-project-archived public Read only

0
0
Text · 773 B · 2075cc3 Raw
31 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s3# RUN: cp %t.obj %t.dupl.obj4# RUN: not lld-link /out:%t.exe %t.obj %t.dupl.obj 2>&1 | FileCheck %s5 6# CHECK: error: duplicate symbol: main7# CHECK-NEXT: >>> defined at file1.cpp:28# CHECK-NEXT: >>>            {{.*}}.obj9# CHECK-NEXT: >>> defined at {{.*}}.obj10 11	.cv_file	1 "file1.cpp" "EDA15C78BB573E49E685D8549286F33C" 112	.cv_file	2 "file2.cpp" "EDA15C78BB573E49E685D8549286F33D" 113 14        .section        .text,"xr",one_only,main15.globl main16main:17	.cv_func_id 018	.cv_loc	0 1 1 0 is_stmt 019	.cv_loc	0 1 2 020	retq21.Lfunc_end0:22 23	.section	.debug$S,"dr",associative,main24	.long	425	.cv_linetable	0, main, .Lfunc_end026 27	.section	.debug$S,"dr"28	.long	429	.cv_filechecksums30	.cv_stringtable31