llvm-project/lld/test/COFF/defparser.test

14 lines
422 B
Plaintext

# RUN: yaml2obj < %p/Inputs/ret42.yaml > %t.obj
# RUN: echo -e "LIBRARY foo\nEXPORTS ? @" > %t.def
# RUN: not lld -flavor link2 /def:%t.def %t.obj
# RUN: echo -e "LIBRARY foo\nHEAP abc" > %t.def
# RUN: not lld -flavor link2 /def:%t.def %t.obj
# RUN: echo -e "LIBRARY foo\nSTACK abc" > %t.def
# RUN: not lld -flavor link2 /def:%t.def %t.obj
# RUN: echo -e "foo" > %t.def
# RUN: not lld -flavor link2 /def:%t.def %t.obj