]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/tuple/element_access/get_neg.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / tuple / element_access / get_neg.cc
index 5bcf5761c360ed01bdfa4f2ae68f02178142cc4b..5a8c3033575124a3d2e6901d187b8972e46669f8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016 Free Software Foundation, Inc.
+// Copyright (C) 2016-2021 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
@@ -17,7 +17,7 @@
 
 // { dg-options "-fno-show-column" }
 // { dg-do compile { target c++14 } }
-// { dg-error "in range" "" { target *-*-* } 1280 }
+// { dg-prune-output "tuple index is in range" }
 
 #include <tuple>
 
@@ -59,3 +59,6 @@ test03()
   std::get<6>(const_cast<const test_type&>(t));        // { dg-error "no match" }
   std::get<6>(static_cast<test_type&&>(t));    // { dg-error "no match" }
 }
+
+// { dg-prune-output "no type named .type" }
+// { dg-prune-output "type/value mismatch" }