]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/stack/requirements/explicit_instantiation/1_c++98.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / stack / requirements / explicit_instantiation / 1_c++98.cc
index c66c5979606909ba52eb0aaba541be6c0082c27d..62fe11d760323d92809286fb015fe0e8d905884d 100644 (file)
@@ -1,7 +1,7 @@
 // { dg-options "-std=gnu++98" }
 // { dg-do compile }
 
-// Copyright (C) 2009-2021 Free Software Foundation, Inc.
+// Copyright (C) 2009-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
@@ -24,7 +24,9 @@
 
 template class std::stack<int>;
 
+#ifndef _GLIBCXX_CONCEPT_CHECKS
 struct NonDefaultConstructible : std::deque<int> {
   NonDefaultConstructible(int) { }
 };
 template class std::stack<int, NonDefaultConstructible>;
+#endif