2013-09-13 05:42:52 +08:00
|
|
|
# RUN: yaml2obj %p/Inputs/weak-externals.obj.yaml > %t.obj
|
|
|
|
|
2013-11-28 01:43:54 +08:00
|
|
|
# RUN: lld -flavor link /force /out:%t.exe /subsystem:console \
|
2013-12-27 16:37:40 +08:00
|
|
|
# RUN: /entry:fn -- %t.obj %p/Inputs/static.lib 2> %t2.log
|
|
|
|
# RUN: FileCheck %s < %t2.log
|
2013-09-13 05:42:52 +08:00
|
|
|
|
2013-11-21 04:51:55 +08:00
|
|
|
CHECK: _no_such_symbol1
|
2013-09-13 05:42:52 +08:00
|
|
|
CHECK-NOT: _no_such_symbol2
|
|
|
|
CHECK: _no_such_symbol3
|