summaryrefslogtreecommitdiff
path: root/test/MinGW/driver.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/MinGW/driver.test')
-rw-r--r--test/MinGW/driver.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MinGW/driver.test b/test/MinGW/driver.test
index 35d3ccf97ccd9..3222bb1115b85 100644
--- a/test/MinGW/driver.test
+++ b/test/MinGW/driver.test
@@ -145,3 +145,9 @@ RUN: ld.lld -### foo.o -m i386pep --Map bar.map | FileCheck -check-prefix=MAP %s
RUN: ld.lld -### foo.o -m i386pep -Map=bar.map | FileCheck -check-prefix=MAP %s
RUN: ld.lld -### foo.o -m i386pep --Map=bar.map | FileCheck -check-prefix=MAP %s
MAP: -lldmap:bar.map
+
+RUN: ld.lld -### foo.o -m i386pe -require-defined _foo --require-defined _bar -require-defined=_baz --require-defined=_foo2 | FileCheck -check-prefix=REQUIRE-DEFINED %s
+REQUIRE-DEFINED: -include:_foo -include:_bar -include:_baz -include:_foo2
+
+RUN: ld.lld -### -m i386pep foo.o -Llibpath | FileCheck -check-prefix LIBPATH %s
+LIBPATH: -libpath:libpath