summaryrefslogtreecommitdiffstats
path: root/test/Modules/explicit-build-prefer-self.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/explicit-build-prefer-self.cpp')
-rw-r--r--test/Modules/explicit-build-prefer-self.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Modules/explicit-build-prefer-self.cpp b/test/Modules/explicit-build-prefer-self.cpp
new file mode 100644
index 0000000..13fbdbd
--- /dev/null
+++ b/test/Modules/explicit-build-prefer-self.cpp
@@ -0,0 +1,3 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -fmodules -fno-implicit-modules -emit-module -fmodule-name=a %S/Inputs/explicit-build-prefer-self/map -o %t/a.pcm
+// RUN: %clang_cc1 -fmodules -fno-implicit-modules -emit-module -fmodule-name=b %S/Inputs/explicit-build-prefer-self/map -o %t/b.pcm
OpenPOWER on IntegriCloud