summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/pr28332.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/pr28332.cpp')
-rw-r--r--clang/test/Modules/pr28332.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Modules/pr28332.cpp b/clang/test/Modules/pr28332.cpp
new file mode 100644
index 00000000000..596dd246008
--- /dev/null
+++ b/clang/test/Modules/pr28332.cpp
@@ -0,0 +1,8 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR28332 -verify %s
+// RUN: %clang_cc1 -std=c++11 -fmodules -fmodule-map-file=%S/Inputs/PR28332/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR28332 -verify %s
+
+#include "a.h"
+
+// expected-no-diagnostics
+
OpenPOWER on IntegriCloud