2 # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s
3 # RUN: cp %t.obj %t.dupl.obj
4 # RUN: not lld-link /out:%t.exe %t.obj %t.dupl.obj 2>&1 | FileCheck %s
6 # CHECK: error: duplicate symbol: main
7 # CHECK-NEXT: >>> defined at file1.cpp:2
8 # CHECK-NEXT: >>> {{.*}}.obj
9 # CHECK-NEXT: >>> defined at {{.*}}.obj
11 .cv_file 1 "file1.cpp" "EDA15C78BB573E49E685D8549286F33C" 1
12 .cv_file 2 "file2.cpp" "EDA15C78BB573E49E685D8549286F33D" 1
14 .section .text,"xr",one_only,main
18 .cv_loc 0 1 1 0 is_stmt 0
23 .section .debug$S,"dr",associative,main
25 .cv_linetable 0, main, .Lfunc_end0
27 .section .debug$S,"dr"