Files
clang-p2996/lld/test/pecoff/export-warning.test
Rui Ueyama 752abd556e Add a blank line to FileCheck input.
FileCheck does not like the empty input file, so adding a blank line to workaround.

llvm-svn: 198839
2014-01-09 02:47:52 +00:00

20 lines
843 B
Plaintext

# RUN: yaml2obj %p/Inputs/export.obj.yaml > %t.obj
#
# RUN: lld -flavor link /out:%t1.dll /dll /entry:init \
# RUN: /export:exportfn1 /export:exportfn1 -- %t.obj 2> %t1.log
# RUN: echo >> %t1.log
# RUN: FileCheck -check-prefix=CHECK1 %s < %t1.log
CHECK1-NOT: Export symbol '_exportfn1' specified more than once.
# RUN: lld -flavor link /out:%t2.dll /dll /entry:init \
# RUN: /export:exportfn1 /export:exportfn1,@5 -- %t.obj 2> %t2.log
# RUN: echo >> %t2.log
# RUN: FileCheck -check-prefix=CHECK2 %s < %t2.log
CHECK2-NOT: Export symbol '_exportfn1' specified more than once.
# RUN: lld -flavor link /out:%t3.dll /dll /entry:init \
# RUN: /export:exportfn1,@8 /export:exportfn1,@5 -- %t.obj 2> %t3.log
# RUN: echo >> %t3.log
# RUN: FileCheck -check-prefix=CHECK3 %s < %t3.log
CHECK3: Export symbol '_exportfn1' specified more than once.