]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/5.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / unordered_multiset / requirements / explicit_instantiation / 5.cc
index 236bfb038e6a53b57c60de825820949b142e73ae..8cc4f5342fb8ea672a968929375649a77a63f660 100644 (file)
@@ -1,5 +1,5 @@
 
-// Copyright (C) 2011-2017 Free Software Foundation, Inc.
+// Copyright (C) 2011-2024 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -26,5 +26,7 @@
 // libstdc++/50118
 template class std::unordered_multiset<int, std::hash<int>, std::equal_to<int>,
                                       __gnu_test::ExplicitConsAlloc<int>>;
+#if !defined __STRICT_ANSI__ && __cplusplus <= 201703L
 template class std::unordered_multiset<int, std::hash<int>, std::equal_to<int>,
                                       __gnu_test::ExplicitConsAlloc<char>>;
+#endif