summaryrefslogtreecommitdiffstats
path: root/libcxx/src/valarray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/valarray.cpp')
-rw-r--r--libcxx/src/valarray.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/src/valarray.cpp b/libcxx/src/valarray.cpp
index 893de050fc6..7bf0b417588 100644
--- a/libcxx/src/valarray.cpp
+++ b/libcxx/src/valarray.cpp
@@ -10,8 +10,12 @@
_LIBCPP_BEGIN_NAMESPACE_STD
+// These two symbols are part of the v1 ABI but not part of the >=v2 ABI.
+#if _LIBCPP_ABI_VERSION == 1
template valarray<size_t>::valarray(size_t);
template valarray<size_t>::~valarray();
+#endif
+
template void valarray<size_t>::resize(size_t, size_t);
void
OpenPOWER on IntegriCloud