summaryrefslogtreecommitdiff
path: root/test/Modules/pr25501.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/pr25501.cpp')
-rw-r--r--test/Modules/pr25501.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Modules/pr25501.cpp b/test/Modules/pr25501.cpp
new file mode 100644
index 0000000000000..18002d6dff3fa
--- /dev/null
+++ b/test/Modules/pr25501.cpp
@@ -0,0 +1,9 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -std=c++11 -fmodules -fmodule-map-file=%S/Inputs/PR25501/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR25501 -verify %s
+
+#include "a2.h"
+#include "b.h"
+
+auto use = aaa;
+
+// expected-no-diagnostics