summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/inferred-frameworks.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/inferred-frameworks.m')
-rw-r--r--clang/test/Modules/inferred-frameworks.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Modules/inferred-frameworks.m b/clang/test/Modules/inferred-frameworks.m
new file mode 100644
index 00000000000..916c900b645
--- /dev/null
+++ b/clang/test/Modules/inferred-frameworks.m
@@ -0,0 +1,8 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -x objective-c -Wauto-import -fmodule-cache-path %t -fmodules -F %S/Inputs %s -verify
+
+#include <NotAModule/NotAModule.h>
+
+@__experimental_modules_import NotAModule; // expected-error{{module 'NotAModule' not found}}
+
+
OpenPOWER on IntegriCloud