diff options
Diffstat (limited to 'test/COFF/defparser.test')
| -rw-r--r-- | test/COFF/defparser.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/COFF/defparser.test b/test/COFF/defparser.test new file mode 100644 index 000000000000..2e5223a699df --- /dev/null +++ b/test/COFF/defparser.test @@ -0,0 +1,13 @@ +# RUN: yaml2obj < %p/Inputs/ret42.yaml > %t.obj + +# RUN: echo -e "LIBRARY foo\nEXPORTS ? @" > %t.def +# RUN: not lld-link /def:%t.def %t.obj + +# RUN: echo -e "LIBRARY foo\nHEAP abc" > %t.def +# RUN: not lld-link /def:%t.def %t.obj + +# RUN: echo -e "LIBRARY foo\nSTACK abc" > %t.def +# RUN: not lld-link /def:%t.def %t.obj + +# RUN: echo -e "foo" > %t.def +# RUN: not lld-link /def:%t.def %t.obj |
