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