summaryrefslogtreecommitdiff
path: root/test/Modules/pr26179.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/pr26179.cpp')
-rw-r--r--test/Modules/pr26179.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Modules/pr26179.cpp b/test/Modules/pr26179.cpp
new file mode 100644
index 000000000000..f25f1ce24bda
--- /dev/null
+++ b/test/Modules/pr26179.cpp
@@ -0,0 +1,7 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -I%S/Inputs/PR26179 -verify %s
+// RUN: %clang_cc1 -fmodules -fmodule-map-file=%S/Inputs/PR26179/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR26179 -verify %s
+
+#include "A.h"
+
+// expected-no-diagnostics