2013-08-09 07:31:50 +08:00
|
|
|
# RUN: yaml2obj %p/Inputs/comdat.obj.yaml > %t1.obj
|
|
|
|
# RUN: yaml2obj %p/Inputs/comdat.obj.yaml > %t2.obj
|
|
|
|
#
|
2013-12-27 16:37:40 +08:00
|
|
|
# RUN: lld -flavor link /out:%t.exe /subsystem:console /opt:noref /force \
|
2013-08-09 07:31:50 +08:00
|
|
|
# RUN: -- %t1.obj %t2.obj 2>&1 > %t.log
|
|
|
|
#
|
|
|
|
# FileCheck complains if the input files is empty, so add a dummy line.
|
|
|
|
# RUN: echo foo >> %t.log
|
|
|
|
#
|
2013-12-27 16:37:40 +08:00
|
|
|
# RUN: FileCheck %s < %t.log
|
2013-08-09 07:31:50 +08:00
|
|
|
|
|
|
|
CHECK-NOT: duplicate symbol error
|