summaryrefslogtreecommitdiff
path: root/test/Modules/dependency-gen-inferred-map.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/dependency-gen-inferred-map.m')
-rw-r--r--test/Modules/dependency-gen-inferred-map.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Modules/dependency-gen-inferred-map.m b/test/Modules/dependency-gen-inferred-map.m
new file mode 100644
index 0000000000000..11cc872881159
--- /dev/null
+++ b/test/Modules/dependency-gen-inferred-map.m
@@ -0,0 +1,8 @@
+// Test that the virtual file "__inferred_module.map" doesn't show up as dependency.
+
+// RUN: rm -rf %t-mcp
+// RUN: %clang_cc1 -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -dependency-file %t.d -MT %s.o -F %S/Inputs -fsyntax-only -fmodules -fmodules-cache-path=%t-mcp %s
+// RUN: FileCheck %s < %t.d
+// CHECK-NOT: __inferred_module
+
+@import Module;