aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/odr_hash-Unresolved.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/odr_hash-Unresolved.cpp')
-rw-r--r--test/Modules/odr_hash-Unresolved.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Modules/odr_hash-Unresolved.cpp b/test/Modules/odr_hash-Unresolved.cpp
new file mode 100644
index 000000000000..0c73b50f7085
--- /dev/null
+++ b/test/Modules/odr_hash-Unresolved.cpp
@@ -0,0 +1,14 @@
+// RUN: rm -rf %t
+
+// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/modules.cache \
+// RUN: -I %S/Inputs/odr_hash-Unresolved \
+// RUN: -fmodules \
+// RUN: -fimplicit-module-maps \
+// RUN: -fmodules-cache-path=%t/modules.cache \
+// RUN: -fmodules-local-submodule-visibility \
+// RUN: -std=c++11 -x c++ %s -fsyntax-only
+
+// Note: There is no -verify in the run line because some error messages are
+// not captured from the module building stage.
+
+#include "Module2/include.h"