summaryrefslogtreecommitdiffstats
path: root/test/Driver/modules.mm
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/modules.mm')
-rw-r--r--test/Driver/modules.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/modules.mm b/test/Driver/modules.mm
index 63db699..d1536c7 100644
--- a/test/Driver/modules.mm
+++ b/test/Driver/modules.mm
@@ -6,3 +6,10 @@
// RUN: %clang -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-MODULES %s
// RUN: %clang -fmodules -fno-cxx-modules -fcxx-modules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-MODULES %s
// CHECK-HAS-MODULES: -fmodules
+
+// RUN: %clang -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-MAPS %s
+// RUN: %clang -fimplicit-module-maps -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-MAPS %s
+// RUN: %clang -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-MAPS %s
+// RUN: %clang -fmodules -fno-implicit-module-maps -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-MAPS %s
+// CHECK-HAS-MAPS: -fimplicit-module-maps
+// CHECK-NO-MAPS-NOT: -fimplicit-module-maps
OpenPOWER on IntegriCloud