]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/libstdc++-prettyprinters/48362.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / libstdc++-prettyprinters / 48362.cc
index e6e4af9fd83b2d2bc8dd27630a5a2a0a33cff381..85add53fe5a270abf48bc104fc4b7c49337ca0eb 100644 (file)
@@ -1,7 +1,7 @@
-// { dg-do run }
-// { dg-options "-g -std=gnu++11 -O0" }
+// { dg-do run { target c++11 } }
+// { dg-options "-g -O0" }
 
-// Copyright (C) 2011 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
@@ -20,6 +20,7 @@
 
 #include <tuple>
 #include <string>
+#include <iostream>
 
 int
 main()
@@ -28,8 +29,9 @@ main()
 // { dg-final { note-test t1 {empty std::tuple} } }
 
   std::tuple<std::string, int, std::tuple<>> t2{ "Johnny", 5, {} };
-// { dg-final { note-test t2 {std::tuple containing = {[1] = "Johnny", [2] = 5, [3] = {<std::tuple<>> = empty std::tuple, <No data fields>}}} } }
+// { dg-final { regexp-test t2 {std::tuple containing = {\[1\] = "Johnny", \[2\] = 5, \[3\] = {<std::(__8::)?tuple<>> = empty std::tuple, <No data fields>}}} } }
 
+  std::cout << "\n";
   return 0; // Mark SPOT
 }