summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/PR27401/b.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs/PR27401/b.h')
-rw-r--r--clang/test/Modules/Inputs/PR27401/b.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/PR27401/b.h b/clang/test/Modules/Inputs/PR27401/b.h
new file mode 100644
index 00000000000..2b4e7f14fbb
--- /dev/null
+++ b/clang/test/Modules/Inputs/PR27401/b.h
@@ -0,0 +1,21 @@
+#include "a.h"
+#ifndef _LIBCPP_VECTOR
+template <class, class _Allocator>
+class __vector_base {
+protected:
+ _Allocator __alloc() const;
+ __vector_base(_Allocator);
+};
+
+template <class _Tp, class _Allocator = allocator>
+class vector : __vector_base<_Tp, _Allocator> {
+public:
+ vector() noexcept(is_nothrow_default_constructible<_Allocator>::value);
+ vector(const vector &);
+ vector(vector &&)
+ noexcept(is_nothrow_move_constructible<_Allocator>::value);
+};
+
+#endif
+void GetUniquePtrType() { vector<char> v; }
+
OpenPOWER on IntegriCloud