summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/PR27401/a.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs/PR27401/a.h')
-rw-r--r--clang/test/Modules/Inputs/PR27401/a.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/PR27401/a.h b/clang/test/Modules/Inputs/PR27401/a.h
new file mode 100644
index 00000000000..63d6b707f46
--- /dev/null
+++ b/clang/test/Modules/Inputs/PR27401/a.h
@@ -0,0 +1,17 @@
+#ifndef _LIBCPP_ALGORITHM
+#define _LIBCPP_ALGORITHM
+template <class _Tp, _Tp>
+struct integral_constant {
+ static const _Tp value = _Tp();
+};
+
+template <class _Tp>
+struct is_nothrow_default_constructible
+ : integral_constant<bool, __is_constructible(_Tp)> {};
+
+template <class _Tp>
+struct is_nothrow_move_constructible
+ : integral_constant<bool, __is_constructible(_Tp, _Tp)> {};
+
+class allocator {};
+#endif
OpenPOWER on IntegriCloud