]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/allocator_traits/members/select.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / allocator_traits / members / select.cc
index 2ef2e347cc5135f3074e1ba3b60ecebe6af1bd46..8798938e72c0b425804f53beab9baacf3485bf82 100644 (file)
@@ -1,7 +1,6 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-do compile }
+// { dg-do run { target c++11 } }
 
-// Copyright (C) 2011-2013 Free Software Foundation, Inc.
+// Copyright (C) 2011-2020 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
@@ -54,7 +53,7 @@ void test01()
 
 void test02()
 {
-  typedef std::allocator_traits<alloc1<X>> traits_type;
+  typedef std::allocator_traits<alloc2<X>> traits_type;
   traits_type::allocator_type a{1};
   const traits_type::allocator_type& a2
     = traits_type::select_on_container_copy_construction(a);