summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs
diff options
context:
space:
mode:
authorVassil Vassilev <v.g.vassilev@gmail.com>2016-07-22 20:49:31 +0000
committerVassil Vassilev <v.g.vassilev@gmail.com>2016-07-22 20:49:31 +0000
commit462a5328ddd6ee7612911ea6f91da40ed3d994f4 (patch)
tree0116d070039df6c3356e727e628ba71732a9ef9c /clang/test/Modules/Inputs
parent127d0502a0a86bf737934d8f018175a0aefc611d (diff)
downloadbcm5719-llvm-462a5328ddd6ee7612911ea6f91da40ed3d994f4.tar.gz
bcm5719-llvm-462a5328ddd6ee7612911ea6f91da40ed3d994f4.zip
Add regression test for PR27699.
llvm-svn: 276469
Diffstat (limited to 'clang/test/Modules/Inputs')
-rw-r--r--clang/test/Modules/Inputs/PR27699/Subdir/a.h1
-rw-r--r--clang/test/Modules/Inputs/PR27699/Subdir/b.h1
-rw-r--r--clang/test/Modules/Inputs/PR27699/module.modulemap1
-rw-r--r--clang/test/Modules/Inputs/PR27699/streambuf7
4 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/PR27699/Subdir/a.h b/clang/test/Modules/Inputs/PR27699/Subdir/a.h
new file mode 100644
index 00000000000..6c36a1a100b
--- /dev/null
+++ b/clang/test/Modules/Inputs/PR27699/Subdir/a.h
@@ -0,0 +1 @@
+#include "streambuf"
diff --git a/clang/test/Modules/Inputs/PR27699/Subdir/b.h b/clang/test/Modules/Inputs/PR27699/Subdir/b.h
new file mode 100644
index 00000000000..6c36a1a100b
--- /dev/null
+++ b/clang/test/Modules/Inputs/PR27699/Subdir/b.h
@@ -0,0 +1 @@
+#include "streambuf"
diff --git a/clang/test/Modules/Inputs/PR27699/module.modulemap b/clang/test/Modules/Inputs/PR27699/module.modulemap
new file mode 100644
index 00000000000..1f58ca06753
--- /dev/null
+++ b/clang/test/Modules/Inputs/PR27699/module.modulemap
@@ -0,0 +1 @@
+module a { umbrella "Subdir" module * {export *} }
diff --git a/clang/test/Modules/Inputs/PR27699/streambuf b/clang/test/Modules/Inputs/PR27699/streambuf
new file mode 100644
index 00000000000..30ea73d230d
--- /dev/null
+++ b/clang/test/Modules/Inputs/PR27699/streambuf
@@ -0,0 +1,7 @@
+ #ifndef STREAMBUF
+ #define STREAMBUF
+ template <typename> struct basic_streambuf {
+ basic_streambuf(const basic_streambuf &);
+ };
+template <typename T> basic_streambuf<T>::basic_streambuf(const basic_streambuf &) = default;
+#endif
OpenPOWER on IntegriCloud